Create a "slider" widget representing a numeric value
The standard configuration options that apply to
Other options are:
The amount to change the slider when using large increments.
Default is 0, which means 1/10 of the scale.
Pointer to a function that will be called for every incremental
change in the slider.
The number of digits to keep when converting from a number to a
Low end of the scale (default = 0).
The string to use as a label for the slider.
The length of the slider.
The orientation of the slider. Values can be
'vertical' (default) or
Determines the number of milliseconds to hold down an arrow before it
will auto-repeat. Default is 300.
Determines the number of milliseconds between auto-repeats once it
is started. Default is 100.
The increments that the scale will change by (default = 1).
Whether to show the current value of the slider (default = 1).
The size of the slider. Default is 25 pixels.
The number of "ticks" to display for the slider. Default is 0 (no
The top value of the scale (default is 100).
Changes the color of the trough.
Assigns the value of the slider to the specified variable.
In addition to
cget, the following
methods are defined for the Scale widget:
Returns the current value if given no arguments. If given
x and y coordinates as the first and second arguments, returns
the value of the scale at that position.
Assigns the value associated with the scale.
Returns the x and y coordinates associated with the value given
in the first argument.
"", depending on
which part of the scale corresponds to the given x, y coordinates.