A radio box item is used to select one of number of mutually exclusive choices.
It is displayed as a vertical column or horizontal row of labelled buttons.
Creation Parameters
- atom parent
- integer id [= -1]
- sequence label_text [= ""]
- integer x [= -1]
- integer y [= -1]
- integer cx [= -1]
- integer cy [= -1]
- sequence choices [= {}]
- integer majorDimension [= 0]
Specifies the maximum number of rows (if style contains wxRA_SPECIFY_ROWS)
or columns (if style contains wxRA_SPECIFY_COLS) for a two-dimensional radiobox.
- atom style [= wxRA_SPECIFY_COLS]
- wxRA_SPECIFY_ROWS
The major dimension parameter refers to the maximum number of rows.
| - wxRA_SPECIFY_COLS
The major dimension parameter refers to the maximum number of columns.
| | |
Return the 0-based index of the selected radio item in the wxRadioBox.
This sets the Radiobox to being selected if selection is one, unselected if selection is zero.