ttk::scale(3tk) | Tk Themed Widget | ttk::scale(3tk) |
ttk::scale - Create and manipulate a scale widget
ttk::scale pathName ?options...?
A ttk::scale widget is typically used to control the numeric value of a linked variable that varies uniformly over some range. A scale displays a slider that can be moved along over a trough, with the relative position of the slider over the trough indicating the value of the variable.
-class -cursor -style -takefocus
See the ttk_widget manual entry for details on the standard options.
Command-Line Name: -command Database Name: command Database Class: Command
Command-Line Name: -from Database Name: from Database Class: From
Command-Line Name: -length Database Name: length Database Class: Length
Command-Line Name: -orient Database Name: orient Database Class: Orient
Command-Line Name: -to Database Name: to Database Class: To
Command-Line Name: -value Database Name: value Database Class: Value
Command-Line Name: -variable Database Name: variable Database Class: Variable
The class name for a ttk::scale is TScale.
Dynamic states: active.
TScale styling options configurable with ttk::style are:
-background color
-borderwidth amount
-darkcolor color
-groovewidth amount
-lightcolor color
-sliderwidth amount
-troughcolor color
-troughrelief relief
Some options are only available for specific themes.
See the ttk::style manual page for information on how to configure ttk styles.
scale, slider, trough, widget
8.5 | Tk |