TmSgiThumbWheel(3Tm) TmSgiThumbWheel(3Tm)
TmThumbWheel - the SGI sgThumbWheel widget class
sgiThumbWheel pathName [options]
This is the tcl binding to the SGI ThumbWheel widget.
The class name for resource files is sgThumbWheel. Resources are
inherited from TmPrimitive, TmCore. Methods are inherited from TmCore.
New resources for this class are:
homePosition
maximum
minimum
angleRange
unitsPerRotation
orientation
showHomeButton
value
valueChangedCallback
dragCallback
homePosition
Specifies the "known value" to which the thumb wheel's value is set
when the home button is clicked.
maximum
Specifies the thumb wheel's maximum value. maximum must be greater
than or equal to minimum. Setting maximum equal to minimum indicates
an infinite range.
minimum
Specifies the thumb wheel's minimum value. maximum must be greater
than or equal to minimum. Setting maximum equal to minimum indicates
an infinite range.
angleRange
Specifies the angular range, in degrees, through which the thumb
wheel is allowed to rotate. This, in conjunction with maximum and
minimum, controls the fineness or coarseness of the wheel control
Page 1
TmSgiThumbWheel(3Tm) TmSgiThumbWheel(3Tm)
when it is not infinite. If set to zero, the thumb wheel has an
infinite range.
The default of 150 represents roughly the visible amount of the
wheel. Thus clicking at one end of the wheel and dragging the mouse
to the other end would give roughly the entire range from minimum to
maximum.
unitsPerRotation
Specifies the change in value when the wheel is rotated one full
turn around. This controls the fineness or coarseness of the wheel
control when the range is infinite.
orientation
Displays ThumbWheel vertically or horizontally. This resource can
have values of vertical and horizontal.
showHomeButton
Specifies whether a home button should be displayed next to the
slider. If the value is True, the home button is displayed.
value
Specifies the current position of the thumb wheel, between minimum
and maximum if the thumb wheel is not infinite.
valueChangedCallback
Specifies the list of callbacks that is called when the value of the
thumb wheel has changed. The reason sent by the callback is
value_changed.
dragCallback
Specifies the list of callbacks that is called when the wheel
position changes as the wheel is being spun. The reason sent by the
callback is drag.
The %value is expanded into an integer between minimum and maximum when
not infinite.
PPPPaaaaggggeeee 2222 [ Back ]
|