TOC PREV NEXT INDEX

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[]

UIradioList class attributes

color

messageUIprimitive class attribute..

x; y;width =100;height => max_array({1, dims * UIdata.UIfonts[0].lineHeight });

UIgeom class attributes.

* parent;grouptoParent;&cursor;events <Not visible in Network Editor>;

UIwindow class attributes.

shellParent <Not visible in Network Editor>;canHaveChildren <Not visible in Network Editor>.

UIconnection class attributes inherited from UIwindow.

&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>

Attributes inherited from UIcore class through UIconnection.

orientation

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

v/UI.v

See Also Related Modules

UIradioList
UIradioBoxLabel
UIoptionBox

TOC PREV NEXT INDEX