ttk::radiobutton - Online Linux Manual PageSection : n
Updated : 8.5
Source : Tk
Note : Tk Themed Widget


NAMEttk::radiobutton − Mutually exclusive option widget

SYNOPSISttk::radiobutton pathName ?options? .\}

DESCRIPTIONttk::radiobutton widgets are used in groups to show or change a set of mutually-exclusive options. Radiobuttons are linked to a Tcl variable, and have an associated value; when a radiobutton is clicked, it sets the variable to its associated value.

STANDARD OPTIONS−class −compound −cursor −image −state −style −takefocus −text −textvariable −underline −width See the ttk_widget manual entry for details on the standard options.

WIDGET-SPECIFIC OPTIONS [ −command command ] A Tcl script to evaluate whenever the widget is invoked. [ −value Value ] The value to store in the associated −variable when the widget is selected. [ −variable variable ] The name of a global variable whose value is linked to the widget. Default value is ::selectedButton.

WIDGET COMMANDIn addition to the standard cget, configure, identify, instate, and state commands, radiobuttons support the following additional widget commands: pathname invoke  Sets the −variable to the −value, selects the widget, and evaluates the associated −command. Returns the result of the −command, or the empty string if no −command is specified.

WIDGET STATESThe widget does not respond to user input if the disabled state is set. The widget sets the selected state whenever the linked −variable is set to the widget's −value, and clears it otherwise. The widget sets the alternate state whenever the linked −variable is unset. (The alternate state may be used to indicate a tri-state or indeterminate selection.)

STANDARD STYLESTtk::radiobutton widgets support the Toolbutton style in all standard themes, which is useful for creating widgets for toolbars.

STYLING OPTIONSThe class name for a ttk::radiobutton is TRadiobutton. Dynamic states: active, alternate, disabled, pressed, readonly, selected. TRadiobutton styling options configurable with ttk::style are: −background color
−compound compound
−foreground color
−indicatorbackground color
−indicatorcolor color
−indicatormargin padding
−indicatorrelief relief
−padding padding
Some options are only available for specific themes. See the ttk::style manual page for information on how to configure ttk styles.

SEE ALSOttk::widget(n), ttk::checkbutton(n), radiobutton(n)

KEYWORDSwidget, button, option
0
Johanes Gumabo
Data Size   :   13,415 byte
man-ttk_radiobutton.nBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 239,363
Visitor ID   :     :  
Visitor IP   :   18.191.238.6   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (rof_escape_sequence_block|26|(null)|(null)|-1|139)         (parse_manual_page_|249|ttk_radiobutton.n|280/139|══─}─══|.══─}─══ )         (htmlprn|149|ttk_radiobutton.n|280/139|.══─}─══|.══─}─══ )         (rof_escape_sequence|91|ttk_radiobutton.n|280/140|\}|.\} )         (parse_manual_page_|249|ttk_radiobutton.n|280/140|\}|.\} )         (rof_OP|10|ttk_radiobutton.n|295|4|.OP \-command command Command )         (rof_OP|10|ttk_radiobutton.n|297|4|.OP \-value Value Value )         (rof_OP|10|ttk_radiobutton.n|300|4|.OP \-variable variable Variable )