![]() |
![]() |
create a UIoptionList of toggle buttons
UIprimitive+UIoptionList UIoptionBox {
enum orientation = {vertical, horizontal};
width = 100;
height => max_array({ 1, dims * UIdata.UIfonts[0].lineHeight });
label <NEvisible=0>;
#ifdef MSDOS
cmdList { set-nonotify; };
#endif
omethod+notify_inst+notify update<NEvisible=0,interrruptable=0,lang="cxx"> = "UIoptionBoxUpdate";
};
UIoptionBox creates a UIoptionList of toggles in a window.
label ;
radioBehavior;
tearOff <Not visible in Network Editor>;
isHelpCmd;
accelerator;
acceleratorText;
dims => array_size(cmdList)
Inherited from UIcmdList via UIoptionList .
&max;
numSelectedItems => array_size(selectedItems);
selectedItems[]
Inherited from UIoptionList .
Attribute inherited from the UIprimitive class.
x = 0; y;
width=100;
height= > max_array({ 1, dims * UIdata.UIfonts[0].lineHeight })
UIgeom class attributes.
canHaveChildren <Not visible in Network Editor>;
shellParent <Not visible in Network Editor>
Attributes inherited from UIconnection class.
events <Not visible in Network Editor>;
grouptoParent;
* parent;
&cursor
Attributes inherited from the UIwindow class.
&visible;
&active;
pixmap;
color;
fontAttribute;
handle <Internal Object. Not visible in Network Editor>;
fontlist <No longer used. Not visible in Network Editor>;
cxxhandle <Internal Object. Not visible in Network Editor>;
motif_resources <No longer used. Not visible in Network Editor>;
window_resources <No longer used. Not visible in Network Editor>;
layout <No longer used. Not visible in Network Editor>
Attributes inherited from UIcore class.
Enumerator. If = 0, layout buttons vertically. If = 1, layout buttons horizontally.
The default is 0.
Examples.Applications.UIApp
examples/ui_samp.v
![]() |
![]() |