![]() |
![]() |
A Gtk::RadioToolButton is a Gtk::ToolItem that contains a radio button, that is, a button that is part of a group of toggle buttons where only one button can be active at a time.
Public Types | |
typedef RadioButtonGroup | Group |
Public Member Functions | |
Group | get_group () |
Returns the radio button group button belongs to. | |
const GtkRadioToolButton* | gobj () const |
Provides access to the underlying C GtkObject. | |
GtkRadioToolButton* | gobj () |
Provides access to the underlying C GtkObject. | |
RadioToolButton (Widget& icon_widget, const Glib::ustring& label=Glib::ustring()) | |
Creates a new Gtk::RadioToolButton with an image and a new group. | |
RadioToolButton (Group& group, const Gtk::StockID& stock_id) | |
Creates a new Gtk::RadioToolButton in an existing group. | |
RadioToolButton (Group& group, const Glib::ustring& label=Glib::ustring()) | |
Creates a new Gtk::RadioToolButton in an existing group. | |
RadioToolButton () | |
Creates a new Gtk::RadioToolButton and a new group. | |
void | set_group (Group& group) |
Adds button to group , removing it from the group it belonged to before. | |
virtual | ~RadioToolButton () |
Related Functions | |
(Note that these are not member functions.) | |
Gtk::RadioToolButton* | wrap (GtkRadioToolButton* object, bool take_copy=false) |
|
|
|
|
|
Creates a new Gtk::RadioToolButton and a new group. The RadioToolButton will have an empty label and will reside in an newly created Group. Use get_group() to retrieve this group and pass it to other radio buttons to assign them to this group.
|
|
Creates a new Gtk::RadioToolButton in an existing group. The RadioToolButton will have the label label and will be put into the Group group.
|
|
Creates a new Gtk::RadioToolButton in an existing group. The RadioToolButton will be created according to the StockID properties and put into the Group group.
|
|
Creates a new Gtk::RadioToolButton with an image and a new group. The RadioToolButton will have the label label and an image widget icon_widget.
|
|
Returns the radio button group button belongs to.
|
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::ToggleToolButton. |
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::ToggleToolButton. |
|
Adds button to group , removing it from the group it belonged to before.
|
|
|