ttk::scale get
Gives the value of the scale, or the value at a point.
PATHNAME get ?X Y?
Description
With no argument, gives the value. With X and Y, gives the value that the slider has at the pixel X and Y of the widget.
Returns
A number.
Examples
% ttk::scale .tscge -from 0 -to 10
> .tscge set 7
> .tscge get
7.0
Errors
% ttk::scale .tscge2; .tscge2 get 1 2 3
wrong # args: should be ".tscge2 get ?x y?"
-errorcode NONE
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.1