![]() |
![]() |
type in numeric input or display numeric output
UIvaluator UIfield {
width = 100;
height = 30;
int outputOnly;
int updateMode;
/* display format */
enum format {choices = {"mixed","fixed","scientific" }:} = "fixed";
/* To display a string when the value is unset or undefined,
set the "nullString" to the string you wish to display. */
/* Set to allow the text widget to resize to fit the length of the value */
omethod+notify_inst+notify update<NEvisible=0,interruptable=0,lang="cxx"> = "UIfieldUpdate";
};
UIfield is a UIvaluator that accepts typed numeric input or displays numeric output.
For text input/output, use UItext instead.
&min;
&max;
&value;
mode;
&decimalPoints;
&immediateMode;
&includeMin <Not visible in Network Editor>;
&includeMax <Not visible in Network Editor>
Inherited from UIvaluator .
UIprimitive class attribute.
UIgeom 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.
Integer. When not zero, the UIfield becomes an "output only" widget meant for displaying numeric results. The user cannot type into the widget.
Integer. Specifies the user action that will apply the current string value in the widget to the value subobject. Valid values for updateMode (which can be OR'ed to produce combinations of actions) are:
0 -- The widget value is not updated under any circumstances.
1 (the default) -- The widget value is applied when the user presses Enter (or Ctrl-Enter, in the case of a multiline text widget).
2 -- The widget value is applied when the widget loses keyboard focus.
4 -- The widget value is applied when the the widget loses pointer focus.
Enumerator. Selects display format.
String. Sets the "nullString" to the string you wish to display when the value is unset or undefined.
Boolean. Allows the text widget to re-size to fit the length of the value.
AVS5_Modules.Data_Input.ACU_background
v/ACUmods.v
v/view.v
Examples.Applications.UIApp
examples/ui_samp.v
UIdial
UIslider
UItext
![]() |
![]() |