| Class Index | Cross Index | Namespace Index |
Group of checkbuttons
Contained in: Gtk
Derived from:
Gtk::CheckButton
Derived by:
none
#include <gtk--/radiobutton.h>
public function member index: |
||
| RadioButton | (); | |
| RadioButton | (const string& label, gfloat xalign=0.5, gfloat yalign=0.5); | |
| RadioButton | (Group& groupx); | |
| RadioButton | (Group& groupx, const string& label, gfloat xalign=0.5, gfloat yalign=0.5); | |
| Group | group | (); |
| GtkRadioButton* | gtkobj | (); |
| const GtkRadioButton* | gtkobj | () const; |
| static bool | isA | (Object* object); |
| void | set_group | (Group p0); |
| virtual | ~RadioButton | (); |
Create an empty button belonging to the specified group, in which you can add() a widget (e.g. a Gtk_Pixmap). If you wish to add a Gtk_Label, you may want to use the {RadioButton(const string &label, Group)} ctor directly instead. Specify a 0 group if you want to create a new button group
Create a button belonging to the specified group, with a label inside. You won't be able to add a widget in this button since it already has a Gtk_Label in it. Specify a 0 group if you want to create a new button group
Each radiobutton is a member of a group. This determines it's relationship with other widgets, so that when this radiobutton is clicked, it knows what other buttons need to be unclicked.