ttk::radiobutton configure
Gives or sets the options of the widget.
PATHNAME configure
PATHNAME configure OPTION
PATHNAME configure OPTION VALUE ?OPTION VALUE ...?
Description
With no argument, gives a list with an entry for each option. With one OPTION, gives its entry: the option, its database name, its database class, the default, and the value.
With pairs of options and values, sets each option in order and gives an empty string. A bad value stops at that option with an error.
Returns
An entry, a list of entries, or an empty string.
Examples
% ttk::radiobutton .trcf -cursor hand2
> .trcf configure -cursor
-cursor cursor Cursor {} hand2
% ttk::radiobutton .trcf3
> llength [.trcf3 configure]
15
Errors
% ttk::radiobutton .trcf4; .trcf4 configure -cursor hand2 -style
value for "-style" missing
-errorcode TK VALUE_MISSING
% ttk::radiobutton .trcf5; .trcf5 configure -bogus 1
unknown option "-bogus"
-errorcode TK LOOKUP OPTION -bogus
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.1