![]() |
![]() |
![]() |
![]() |
UIlist
Synopsis
UIprimitive UIlist {
width = 75;
height => 4 * UIdata.UIfonts[0].lineHeight;
string+OPort2 selectedText;/*the value entered
in the text window */
Boolean listIsEditable; /* Default is 0 */
int &selectedItem;
int+ stringdims => array_size(strings);
string+IPort2 strings[];
string font;
omethod+notify_inst+notify update<NEvisible=0,lang="cxx",
interruptable=0> = "UIlistUpdate";
};Description
The UIlist object presents a list of string items, one of which the user can select. The index of the selected list item is set in the selectedItem attribute, and the string itself is set in selectedText. The selectedItem attribute can also be an input, setting the selected list item based on the index value read.
Subobjects
x = 0; y;width=75;height= 4 * UIdata.UIfonts[0].lineHeight
canHaveChildren <Not visible in Network Editor>;shellParent <Not visible in Network Editor>
events <Not visible in Network Editor>;grouptoParent;* parent;&cursor
&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>
Example
File
See Also Related Modules
![]() |
![]() |
![]() |
![]() |