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