![]() |
![]() |
![]() |
![]() |
UIselectionDialog
Synopsis
a dialog to select a string from a list of strings
UIpromptBox UIselectionDialog {
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";
};Description
UIselectionBox is a dialog that lets a user select a string from a list of strings.
Subobjects
prompt;text;applyButton;applyLabelString
title;isModal;autoUnmanage;destroyOnUnmanage;ok;cancel;okButton;okLabelString;cancelButton;cancelLabelString;display
* parent;grouptoParent;&cursor;events <Not visible in Network Editor>;
shellParent <Not visible in Network Editor>;canHaveChildren <Not visible in Network Editor> =0
&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>.
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.
stringdims =>array_size(strings)
(String. IPort2) An array of strings from which the user is to select. The strings appear in the dialog.This subobject is read/write
Example
Examples.Applications.UIApp examples/ui_samp.v
File
See Also Related Modules
![]() |
![]() |
![]() |
![]() |