a dialog to select a string from a list of strings
Boolean listIsEditable; /* Default is 0 */
int+OPort2 &selectedItem;
int stringdims => array_size(strings);
string+IPort2 strings[];
method_inst inst<NEvisible=0,lang="cxx",interruptable=0> = "UIselectionBoxInstance";
method_val update<NEvisible=0,lang="cxx",interruptable=0> = "UIselectionBoxUpdate";
};
UIselectionBox is a dialog that lets a user select a string from a list of strings.
prompt;
text;
applyButton;
applyLabelString
Attributes of the UIpromptBox class.
title;
isModal;
autoUnmanage;
destroyOnUnmanage;
ok;
cancel;
okButton;
okLabelString;
cancelButton;
cancelLabelString;
display
Attributes inherited from UIdialog.
UIdecorContainer class attribute.
UIGeom class attributes.
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> =0
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.
Boolean. Controls the treatment of strings typed into the text area. If 1, then typing any string in the text area of the dialog affects the text, adds the text to the list of strings, and marks it as the selected list item. If 0, typing any string in the text area does not affect the text unless it matches one of the list items. The default is 0.
(Integer. OPort2) Sets or indicates the index of the item selected.
stringdims =>array_size(strings)
(Integer) Indicates the number of strings in the strings array.
(String. IPort2) An array of strings from which the user is to select. The strings appear in the dialog.
Examples.Applications.UIApp
examples/ui_samp.v
v/view.v
UIdialog