RadioButton —
A radio group is a set of check buttons where only one button can be checked.
radioButtonNew:: IO RadioButton |
radioButtonNewJoinGroup:: RadioButton -> IO RadioButton |
radioButtonNewJoinGroupWithLabel:: RadioButton -> String -> IO RadioButton |
radioButtonNewWithLabel:: String -> IO RadioButton |
Each radio button has to be associated with a group. Generating a new radio button makes up a new group. Other group members can be added by generating radio buttons with the function radioButtonNewJoinGroup.
No function that directly accesses the group is bound. This is due to the difficulties assuring that these groups are valid as the group is a plain GSList from Glib.
Creates a new RadioButton and attaches it to the group of another radio button.
| radioButtonNewJoinGroup | :: RadioButton | :: IO RadioButton |
| rb |
This function corresponds to gtk_radio_button_new_from_widget. The new name makes more sense because we do not handle any other grouping mechanism.
Create a new RadioButton with a label and group.
| radioButtonNewJoinGroupWithLabel | :: RadioButton | :: String | :: IO RadioButton |
| rb | lbl |
Like RadioButton but shows a label to the right of the button.
| radioButtonNewWithLabel | :: String | :: IO RadioButton |
| lbl |