
9. Other Standard Widgets 37
-sliderlength => size
Size of the slider, measured along the slider’s long
dimension.
-sliderrelief => relief
Specifies the relief used to display the slider.
-tickinterval => number
A real value to specify the spacing between numerical tick
marks displayed.
-to => number
A real value corresponding to the right or bottom end of
the scale.
-variable => varRef
Name of a global variable to link to the scale.
-width => width
Narrow dimension of scale (not including border).
$scale->coords(?value ?);
Returns x and y coordinates of point correspoinding to
value.
$scale->get(?x, y ?);
If x, y is given, returns scale value at that coordiante pos-
tion. Otherwise, scale’s current value is returned.
$scale->identify(x, y);
Returns string indicating part of scale at postion x, y. May
be one of
slider, trough1, trough2, or empty.
$scale->set(value);
Changes the current value of scale to value.
Scrollbar
-activebackground -jump
-background -orient
-borderwidth -relief
-cursor -repeatdelay
-highlightbackground -repeatinterval