_________________________________________________________________
See the "options" manual entry for details on the standard options.
_________________________________________________________________
pathName option ?arg arg ...?
Option and the args determine the exact behavior of the command.
Many of the widget commands for the radiobox take as one argument an indicator of which radiobutton of the radiobox to operate on. These indicators are called indexes and allow reference and manipulation of radiobuttons. Radiobox indexes may be specified in any of the following forms:
pathName buttonconfigure index ?options?
This command is similar to the configure command,
except that it applies to the options for an individual
radiobutton, whereas configureapplies to the options
for the radiobox as a whole. Options may have any of
the values accepted by the add widget command. If
options are specified, options are modified as indicated
in the command and the command returns an empty
string. If no options are specified, returns a list
describing the current options for entry index (see
Tk_ConfigureInfo for information on the format of this
list).
pathName cget option
Returns the current value of the configuration option
given by option. Option may have any of the values
accepted by the radiobox command.
pathName configure ?option? ?value option value ...? Query or modify the configuration options of the widget. If no option is specified, returns a list describing all of the available options for pathName (see Tk_ConfigureInfo for information on the format of this list). If option is specified with no value, then the command returns a list describing the one named option (this list will be identical to the corresponding sublist of the value returned if no option is specified). If one or more option - value pairs are specified, then the command modifies the given widget option(s) to have the given value(s); in this case the command returns an empty string. Option may have any of the values accepted by the radiobox command.
pathName delete index
Deletes a specified radiobutton given an index.
pathName deselect index
Deselects a specified radiobutton given an index.
pathName flash index
Flashes a specified radiobutton given an index.
pathName get
Returns the tag of the currently selected radiobutton.
pathName index index
Returns the numerical index corresponding to index.
pathName insert index tag ?option value option value ...? Same as the add command except that it inserts the new radiobutton just before the one given by index, instead of appending to the end of the radiobox. The option, and value arguments have the same interpretation as for the add widget command.
pathName select index
Selects a specified radiobutton given an index.
pack .rb -padx 10 -pady 10 -fill both -expand yes
Mark L. Ulferts