A radiobox item is a matrix of strings with associated radio buttons. The buttons are mutually exclusive, so pressing one will deselect the current selection.
wxRadioBox major-dimension
wxRadioBox values
wxRadioBox create
wxRadioBox get-selection
wxRadioBox set-selection
long major-dimension
Specifies the number of rows (if style is wxVERTICAL) or columns (if style is wxHORIZONTAL) for a two-dimensional radiobox.
multifield values
List of string values for initializing the wxRadioBox labels.
void ( create)
Creates a radiobox item on the given panel or dialog box. The following slots may be initialized.
style may be a bit list of:
wxVERTICAL | Lays the radiobox out in columns. |
wxHORIZONTAL | Lays the radiobox out in rows. |
long ( get-selection)
Get the ID of the button currently selected.
bool ( set-selection long item)
Sets the given button to be the current selection.