TOC PREV NEXT INDEX

UIoptionBox

Synopsis

create a UIoptionList of toggle buttons

UIprimitive+UIoptionList UIoptionBox {
cmdList+read;
selectedItems+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>;
#ifdef MSDOS
cmdList { set-nonotify; };
#endif
omethod+notify_inst+notify update<NEvisible=0,
interrruptable=0,lang="cxx"> = "UIoptionBoxUpdate";
};

Description

UIoptionBox creates a UIoptionList of toggles in a window.

Subobjects

label ;radioBehavior;tearOff <Not visible in Network Editor>;isHelpCmd;accelerator;acceleratorText;dims => array_size(cmdList)

Inherited from UIcmdListvia UIoptionList .

&max;numSelectedItems => array_size(selectedItems);selectedItems[]Inherited from UIoptionList .message

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.

orientation

Enumerator. If = 0, layout buttons vertically. If = 1, layout buttons horizontally.The default is 0.

Example

Not Available

File

v/UI.v

See Also Related Modules

UIoptionList
UIcmdList
UIoptionBoxLabel

TOC PREV NEXT INDEX