RadioButton
Help Contents
GUI programming
RadioButtons
RadioButton
RadioButton parent label onclick
(RadioButton parent label onclick style pos size)
outputs a new RadioButton on the parent (a Frame or a Graph),
having the text label on it,
and running the onclick instructionlist when the user clicks with the mouse on it.
style can be a combination (use +) of the following constants:
wxRB_GROUP Marks the beginning of a new group of radio buttons.
wxRB_SINGLE In some circumstances, radio buttons that are not consecutive siblings trigger a hang bug in Windows (only). If this happens, add this style to mark the button as not belonging to a group, and implement the mutually-exclusive group behaviour yourself.
wxRB_USE_CHECKBOX Use a checkbox button instead of radio button (currently supported only on PalmOS).
pos is the position of the Button (a list of two integer numbers, x and y),
size is the size of the Button (again a list of two integer numbers, width and height).
Examples:
Examples:
References: