![]() |
![]() |
a dial object for entering numeric input
UIvaluator UIdial {
width = 140;
height = 180;
string title=> name_of(<-,1);
double valuePerRev;
Boolean showValue;
int numTicks;
int style = 1; /* AVS_STYLE */
omethod+notify_inst+notify
update<NEvisible=0,interruptable=0,lang="cxx"> = "UIdialUpdate";
};
UIdials provide a dial-style UIvaluator. A dial is useful in situations where the range of the valuator is unbounded, but the user interface developer wants a control that does not require typing a numeric value.
&min;
&max;
&value;
mode;
&decimalPoints;
&immediateMode;
&includeMin <Not visible in Network Editor>;
&includeMax <Not visible in Network Editor>
Inherited from UIvaluator .
UIprimitive class attribute.
x; y;
width =140;
height =180;
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>;
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>
Attributes inherited from UIcore class through UIwindow.
String. Sets the title string displayed at the top of the UIdial.
Double. Sets the value obtained by sweeping the dial a single revolution, effectively controlling the resolution of the dial. It should be set to a value greater than (max - min).
Boolean. If set on, the current dial value appears in a text widget above the dial widget. 0= off (don't show value ); 1= on (show value ). The default is on.
Integer. Sets the number of tickmarks displayed on the dial.
Integer. Set the style of the dial face graphic. If=0, style is a plain round knob. If set to 1, style is an AVS type arrow pointer. The default is =1.
Examples.Applications.UIApp
examples/ui_samp.v
Examples.Applications.AdderApp
examples/simp_add.v
UIslider
![]() |
![]() |