next up previous contents index
Next: Send Up: XF and Tcl/Tk Previous: Checkbutton widgets

Radiobutton widgets

To set and retrieve the current state of a radiobutton, these widgets have a resource named (-variable). This variable represents the current selection of a group of radiobuttons. Radiobuttons are grouped by giving them the same global variable. It is possible to specify which value is assigned to the variable when each button is pressed. This is done with the resource (-value).



Harry Beker
Thu Feb 29 18:06:38 MET 1996