ttk::spinbox set
Sets the text of the field.
PATHNAME set VALUE
Description
Replaces the text with VALUE. The value does not need to be in the range or in -values. set runs no -command.
Returns
An empty string.
Examples
% ttk::spinbox .tsbse -from 0 -to 5
> .tsbse set 99
> .tsbse get
99
Errors
% ttk::spinbox .tsbse2; .tsbse2 set
wrong # args: should be ".tsbse2 set value"
-errorcode NONE
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.1