![]() |
![]() |
![]() |
![]() |
UIradioBox
Synopsis
create a UIradioListof radio buttons
UIprimitive+UIradioList UIradioBox {
cmdList+read;
selectedItem+read;
enum orientation {
choices = {"vertical","horizontal"}
};
int itemWidth;
int itemHeight<NEvisible=0>;
width = 100;
#ifdef MSDOS
height => max_array({ 1, dims
* (2 +UIdata.UIfonts[0].lineHeight) });
#else
height => max_array({ 1, dims
* UIdata.UIfonts[0].lineHeight });
#endif
label <NEvisible=0>;
tearOff <NEvisible=0>;
omethod+notify_inst+notify update<NEvisible=0,
interruptable=0,lang="cxx"> = "UIradioBoxUpdate";
};Description
UIradioBox creates a UIradioList of toggles in a window. It differs from UIoptionBox in that you can select only one item at a time..
Subobjects
label <Not visible in Network Editor>radioBehavior =1tearOff <Not visible in Network Editor>isHelpCmdaccelerator;acceleratorText;dims => array_size(cmdList)&cmdList[]Inherited from UIcmdList .selectedItem;*selectedCmd;cmdList[]
x; y;width =100;height => max_array({1, dims * UIdata.UIfonts[0].lineHeight });
* parent;grouptoParent;&cursor;events <Not visible in Network Editor>;
shellParent <Not visible in Network Editor>;canHaveChildren <Not visible in Network Editor>.
&visible=0;&active;pixmap;color;fontAttribute;fontlist <No longer used. Not visible in Network Editor>;cxxhandle <Internal Object. Not visible in Network Editor>;handle <Internal Object. Not visible in Network Editor>;window_resources <No longer used. Not visible in Network Editor>;motif_resources <No longer used. Not visible in Network Editor>;layout <No longer used. Not visible in Network Editor>
Enumerator. If = 0, layout buttons vertically. If = 1, layout buttons horizontally.The default is 0.
Example
AVS5_Modules.Filters.ACU_extract_graph (and many others) v/ACUmods.v Examples.Applications.UIApp examples/ui_samp.v
File
See Also Related Modules
![]() |
![]() |
![]() |
![]() |