UIIndex.gif Previous-2.gif Next-3.gif

UIoptionBox


Synopsis

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";
};

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 UIcmdList via 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

Examples.Applications.UIApp
examples/ui_samp.v

File

v/UI.v

See Also

Related modules:

•      UIoptionList

•      UIcmdList

•      UIoptionBoxLabel

 



UIIndex.gif Previous-2.gif Next-3.gif