checkbutton select
Turns the checkbutton on.
PATHNAME select
Description
Sets the variable to -onvalue. It runs no -command, and it works also with -state disabled.
Returns
An empty string.
Examples
% checkbutton .sl -variable sl -onvalue yes
> .sl select
> set sl
yes
Errors
% checkbutton .sl2; .sl2 select x
wrong # args: should be ".sl2 select"
-errorcode NONE
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.1