Table 38-1. Scale Options
Option | Type | Description |
---|---|---|
activebackground | color | |
background (bg) | color | |
bigincrement | value | |
command | callback | |
cursor | cursor | The cursor to show when the mouse pointer is placed over the scale widget. Default is a system specific arrow cursor. |
digits | value | |
font | font | |
foreground (fg) | color | |
from (from_) | value | |
highlightbackground, highlightcolor | color | Controls how to draw the focus highlight border. When the widget has focus, the border is drawn in the highlightcolor color. Otherwise, it is drawn in the highlightbackground color. The defaults are system specific. |
highlightthickness | distance | Controls the width of the focus highlight border. Default is 0 (no border). |
label | string | |
length | distance | |
orient | constant | |
relief | constant | Border decoration. The default is FLAT. Other possible values are SUNKEN, RAISED, GROOVE, and RIDGE. |
borderwidth (bd) | distance | The width of the button border. The default is platform specific, but is usually 1 or 2 pixels. |
repeatdelay | time | |
repeatinterval | time | |
resolution | value | |
showvalue | flag | |
sliderlength | distance | |
sliderrelief | constant | |
state | constant | |
takefocus | flag | Indicates that the user can use the Tab key to move to this widget. Default is an empty string, which means that the scale accepts focus only if it has any keyboard bindings (default is off, in other words). |
tickinterval | time | |
to | value | |
troughcolor | color | |
variable | variable | |
width | distance |