radiobutton select
Selects the radiobutton.
PATHNAME select
Description
Sets the variable to -value, so the other radiobuttons of the group are not selected. It runs no -command, and it works also with -state disabled.
Returns
An empty string.
Examples
% radiobutton .sl -variable sl -value yes
> .sl select
> set sl
yes
Errors
% radiobutton .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