TOC PREV NEXT INDEX

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 {
choices = {"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. In some cases the UIoptiionMenu ignores its width parameter and sets the width to be just big enough for the largest item on the menu. A possible work around for this is to add spaces to the end of the menu item.

Subobjects

labelradioBehavior =1tearOff <Not visible in Network Editor>isHelpCmdaccelerator;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.

fontString. Font string descriptor to use.

Font string descriptor to use.

alignment

Enumerator. Controls the placement of the UIlabel.0 = left aligned1 = center aligned2 = right aligned

useSelectedCmd

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

Example

Not Available

File

v/UI.v

See Also Related Modules


TOC PREV NEXT INDEX