UIdial
Synopsis
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";
};Description
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.
Subobjects
&includeMin <Not visible in Network Editor>;
&includeMax <Not visible in Network Editor>
events <Not visible in Network Editor>;
shellParent <Not visible in Network Editor>;
canHaveChildren <Not visible in Network Editor> =0
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>
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. 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.
Example
Examples.Applications.UIApp
examples/ui_samp.v
Examples.Applications.AdderApp
examples/simp_add.vFile
See Also Related Modules