![]() |

A ToggleToolButton is a Gtk::ToolItem that contains a toggle button.
Public Member Functions | |
| virtual | ~ToggleToolButton () |
| GtkToggleToolButton* | gobj () |
| Provides access to the underlying C GtkObject. | |
| const GtkToggleToolButton* | gobj () const |
| Provides access to the underlying C GtkObject. | |
| ToggleToolButton () | |
| Creates a new ToggleToolButton. | |
| ToggleToolButton (const Gtk::StockID& stock_id) | |
| Creates a new ToggleToolButton from a StockID. | |
| ToggleToolButton (const Glib::ustring& label) | |
| Creates a new ToggleToolButton with a label. | |
| ToggleToolButton (Widget& icon_widget, const Glib::ustring& label=Glib::ustring()) | |
| Creates a new ToggleToolButton with an image. | |
| void | set_active (bool is_active=true) |
| Sets the status of the toggle tool button. | |
| bool | get_active () const |
| Queries a Gtk::ToggleToolButton and returns its current state. | |
| Glib::SignalProxy0<void> | signal_toggled () |
Protected Member Functions | |
| virtual void | on_toggled () |
Related Functions | |
| (Note that these are not member functions.) | |
| Gtk::ToggleToolButton* | wrap (GtkToggleToolButton* object, bool take_copy=false) |
|
|
|
|
|
Creates a new ToggleToolButton.
|
|
|
Creates a new ToggleToolButton from a StockID. The ToggleToolButton will be created according to the stock_id properties.
|
|
|
Creates a new ToggleToolButton with a label. The ToggleToolButton will have the label label.
|
|
||||||||||||
|
Creates a new ToggleToolButton with an image. The ToggleToolButton will have the label label and an image widget icon_widget.
|
|
|
Queries a Gtk::ToggleToolButton and returns its current state.
Returns
|
|
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::ToolButton.
Reimplemented in Gtk::RadioToolButton.
|
|
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::ToolButton.
Reimplemented in Gtk::RadioToolButton.
|
|
|
|
|
|
Sets the status of the toggle tool button.
Set to Since: 2.4
|
|
|
|
|
||||||||||||
|
|