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

UIoptionMenu


Synopsis

a menu that allows a selection from a list of UIoptions

UIdecorContainer+UIradioList UIoptionMenu<is_val_function=0> {

width = 200;
height = 37;
int optionLabel;
string label=> name_of(<-,1);
UIpixmap labelPixmap<NEvisible=0>;
string font;
enum alignment = {left, center, right};
int useSelectedCmd;

omethod+notify_inst+notify update<NEvisible=0,lang="cxx",interruptable=0>
= "UIoptionMenuUpdate";
};

Description

UIoptionMenu is similar to the Motif XmOptionMenu widget. The menu items are an array of UIoption class objects.

Subobjects

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

Inherited from UIcmdList .

selectedItem;
*selectedCmd;
cmdList[]

UIradioList class attributes

message

UIdecorContainer class attribute.

x; y;
width=200;
height=37;

UIgeom class attributes.

clientWidth; clientHeight

UIdecorGeom 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 UIwindow.

optionLabel

Integer. If 1, shows the label string; if 0, label is invisible.

label

String. Sets the text of the label.

labelPixmap <Not visible in Network Editor>

UIpixmap. Filename and type to use as pixmap for label.

font

String. Font string descriptor to use.

alignment

Enumerator. Controls the placement of the UIlabel.
0 = left aligned
1 = center aligned
2 = right aligned

useSelectedCmd

Integer. Set to 0 to use behavior prior to AVS/Express version 3.1

Example

Not available.

File

v/UI.v

 



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