|  |  | 

It is only when multiple radio buttons are grouped together that they become a different user interface component in their own right. Every radio button is a member of some group of radio buttons. When one is selected, all other radio buttons in the same group are deselected. A Gtk::RadioButton gives the user a choice from many options. After constructing the first RadioButton in a group, use get_group() and provide this Group to the constructors ot the other RadioButtons in the same group. To remove a Gtk::RadioButton from one group and make it part of a new one, use set_group().
| Public Types | |
| typedef RadioButtonGroup | Group | 
| Public Member Functions | |
| Group | get_group () | 
| const GtkRadioButton* | gobj () const | 
| Provides access to the underlying C GtkObject. | |
| GtkRadioButton* | gobj () | 
| Provides access to the underlying C GtkObject. | |
| RadioButton (Group& group, const Glib::ustring& label, bool mnemonic=false) | |
| Create a button belonging to the specified group, with a label inside. | |
| RadioButton (Group& group) | |
| Create an empty RadioButton belonging to the specified group, into which you can add() a widget. | |
| RadioButton (const Glib::ustring& label, bool mnemonic=false) | |
| RadioButton () | |
| void | reset_group () | 
| void | set_group (Group& group) | 
| Glib::SignalProxy0<void> | signal_group_changed () | 
| virtual | ~RadioButton () | 
| Protected Member Functions | |
| virtual void | on_group_changed () | 
| Related Functions | |
| (Note that these are not member functions.) | |
| Gtk::RadioButton* | wrap (GtkRadioButton* object, bool take_copy=false) | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | ||||||||||||
| 
 | 
| 
 | 
| Create an empty RadioButton belonging to the specified group, into which you can add() a widget. If you wish to add a Gtk::Label, you may want to use the Gtk::RadioButton(const Group& group, const Glib::ustring& label, bool mnemonic) constructor directly instead. | 
| 
 | ||||||||||||||||
| Create a button belonging to the specified group, with a label inside. You won't be able to add a widget to this button since it already contains a Gtk::Label. | 
| 
 | 
| 
 | 
| 
 | 
| Provides access to the underlying C GtkObject. 
 Reimplemented from Gtk::CheckButton. | 
| 
 | 
| Provides access to the underlying C GtkObject. 
 Reimplemented from Gtk::CheckButton. | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | ||||||||||||
| 
 
 
 |