TOC PREV NEXT INDEX

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

&min;&max;&value;mode;&decimalPoints;&immediateMode;&includeMin <Not visible in Network Editor>;&includeMax <Not visible in Network Editor>

Inherited from UIvaluator.

Message

UIprimitive class attribute.

parent;grouptoParent;&cursor;events <Not visible in Network Editor>;

UIwindow class attributes

x; y;width =140;height =180;

UIgeom class attributes.

shellParent <Not visible in Network Editor>;canHaveChildren <Not visible in Network Editor> =0

UIconnection class attributes inherited from UIwindow.

&visible;&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.

title

String. Sets the title string displayed at the top of the UIdial.

valuePerRev

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).This subject is read only.

showValue

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.

numTicks

Integer. Sets the number of tickmarks displayed on the dial.

style =1

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.v

File

v/UI.v

See Also Related Modules

UIslider
UIdynamic_toggle
UIvaluator

TOC PREV NEXT INDEX