relief With the default relief, FLAT, the scale does not
stand out from its background. You may set this op-
tion to RAISED, SUNKEN, RIDGE, GROOVE, or SOLID
(which gives you a solid black frame around it).
repeatdelay This option controls how long button 1 has to be
held down in the trough before the slider starts
moving in that direction repeatedly. Default is 300,
and the units are milliseconds.
repeatinterval This option controls how often slider movement
will repeat when button 1 is held down in
the trough. Default is 100, and the units are
milleseconds.
resolution Normally, the user will only be able to change the
scale in whole units. Set this option to some other
value to change the smallest increment of the scale’s
value. For example, if from_=-1.0 and to=1.0,
and you set resolution=0.5, the scale will have
5 possible values: -1.0, -0.5, 0.0, +0.5, and +1.0. All
smaller movements will be ignored.
showvalue Normally, the current value of the scale is displayed
in text form by the slider (above it for horizontal
scales, to the left for vertical scales). Set this option
to 0 to suppress that label.
sliderlength Normally the slider is 30 pixels along the length of
the scale. You can change that length by setting the
sliderlength option to your desired length.
state Normally, scale widgets respond to mouse events,
and when they have the focus, also keyboard
events. Set this option to DISABLED to make the
widget unresponsive.
takefocus Normally, the focus will cycle through scale wid-
gets. Set this option to 0 if you don’t want this
behavior. See Focus, below.
tickinterval Normally, there are no “ticks” displayed along the
scale. To display periodic scale values, set this op-
tion to a number, and ticks will be displayed on
multiples of that value. For example, if from_=0.0,
to=1.0, and tickinterval=0.25, labels will be
displayed along the scale at values 0.0, 0.25, 0.50,
0.75, and 1.00. These labels appear below the scale
if horizontal, to its left if vertical. Default is 0, which
suppresses display of ticks.
to A float or integer value that defines one end of
the scale’s range; the other end is defined by the
from_ option, discussed above. The to value can
be either greater than or less than the from_ value.
For vertical scales, the to value defines the bottom
of the scale; for horizontal scales, the right end.
troughcolor The color of the trough.
New Mexico Tech Computer Center Tkinter reference: The Scale widget Page 45