|  |  | 

A ToolButton is are Gtk::ToolItem containing a button.
| Public Member Functions | |
| virtual | ~ToolButton () | 
| GtkToolButton* | gobj () | 
| Provides access to the underlying C GtkObject. | |
| const GtkToolButton* | gobj () const | 
| Provides access to the underlying C GtkObject. | |
| ToolButton () | |
| Creates a new ToolButton. | |
| ToolButton (const Gtk::StockID& stock_id) | |
| Creates a new ToolButton from a StockID. | |
| ToolButton (const Glib::ustring& label) | |
| Creates a new ToolButton with a label. | |
| ToolButton (Widget& icon_widget, const Glib::ustring& label=Glib::ustring()) | |
| Creates a new ToolButton with an image. | |
| void | set_label (const Glib::ustring& label) | 
| Sets label as the label used for the tool button. | |
| Glib::ustring | get_label () const | 
| Returns the label used by the tool button, or 0if the tool button doesn't have a label. | |
| void | set_use_underline (bool use_underline=true) | 
| If set, an underline in the label property indicates that the next character should be used for the mnemonic accelerator key in the overflow menu. | |
| bool | get_use_underline () const | 
| Returns whether underscores in the label property are used as mnemonics on menu items on the overflow menu. | |
| void | set_stock_id (const Gtk::StockID& stock_id) | 
| Sets the name of the stock item. | |
| Glib::ustring | get_stock_id () const | 
| Returns the name of the stock item. | |
| void | set_icon_widget (Widget& icon_widget) | 
| Sets icon as the widget used as icon on button . | |
| Widget* | get_icon_widget () | 
| Return the widget used as icon widget on button . | |
| const Widget* | get_icon_widget () const | 
| Return the widget used as icon widget on button . | |
| void | set_label_widget (Widget& label_widget) | 
| Sets label_widget as the widget that will be used as the label for button . | |
| Widget* | get_label_widget () | 
| Returns the widget used as label on button . | |
| const Widget* | get_label_widget () const | 
| Returns the widget used as label on button . | |
| Glib::SignalProxy0<void> | signal_clicked () | 
| Glib::PropertyProxy<Glib::ustring> | property_label () | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_label () const | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy<bool> | property_use_underline () | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy_ReadOnly< bool > | property_use_underline () const | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy<Gtk::Widget*> | property_label_widget () | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy_ReadOnly< Gtk::Widget* > | property_label_widget () const | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy<Glib::ustring> | property_stock_id () | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_stock_id () const | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy<Gtk::Widget> | property_icon_widget () | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy_ReadOnly< Gtk::Widget > | property_icon_widget () const | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Protected Member Functions | |
| virtual void | on_clicked () | 
| Related Functions | |
| (Note that these are not member functions.) | |
| Gtk::ToolButton* | wrap (GtkToolButton* object, bool take_copy=false) | 
| 
 | 
| 
 | 
| 
 | 
| Creates a new ToolButton. 
 | 
| 
 | 
| Creates a new ToolButton from a StockID. The ToolButton will be created according to the stock_id properties. 
 
 | 
| 
 | 
| Creates a new ToolButton with a label. The ToolButton will have the label label. 
 
 | 
| 
 | ||||||||||||
| Creates a new ToolButton with an image. The ToolButton will have the label label and an image widget icon_widget. 
 
 | 
| 
 | 
| Return the widget used as icon widget on button . See set_icon_widget(). 
 | 
| 
 | 
| Return the widget used as icon widget on button . See set_icon_widget(). 
 | 
| 
 | 
| 
Returns the label used by the tool button, or  or uses a the label from a stock item. The returned string is owned by GTK+, and must not be modified or freed. 
 | 
| 
 | 
| Returns the widget used as label on button . See set_label_widget(). 
 | 
| 
 | 
| Returns the widget used as label on button . See set_label_widget(). 
 | 
| 
 | 
| Returns the name of the stock item. See set_stock_id(). The returned string is owned by GTK+ and must not be freed or modifed. 
 | 
| 
 | 
| Returns whether underscores in the label property are used as mnemonics on menu items on the overflow menu. See set_use_underline(). 
 | 
| 
 | 
| Provides access to the underlying C GtkObject. 
 Reimplemented from Gtk::ToolItem. 
 Reimplemented in Gtk::RadioToolButton, and Gtk::ToggleToolButton. 
 | 
| 
 | 
| Provides access to the underlying C GtkObject. 
 Reimplemented from Gtk::ToolItem. 
 Reimplemented in Gtk::RadioToolButton, and Gtk::ToggleToolButton. 
 | 
| 
 | 
| 
 | 
| 
 | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 
 | 
| 
 | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 
 | 
| 
 | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 
 | 
| 
 | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 
 | 
| 
 | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 
 | 
| 
 | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 
 | 
| 
 | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 
 | 
| 
 | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 
 | 
| 
 | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 
 | 
| 
 | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. 
 
 | 
| 
 | 
| Sets icon as the widget used as icon on button . 
If icon_widget is  Since: 2.4 
 | 
| 
 | 
| Sets label as the label used for the tool button. 
The "label" property only has an effect if not overridden by a non- Since: 2.4 
 | 
| 
 | 
| Sets label_widget as the widget that will be used as the label for button . 
If label_widget is  Since: 2.4 
 | 
| 
 | 
| Sets the name of the stock item. 
See new_from_stock(). The stock_id property only has an effect if not overridden by non- Since: 2.4 
 | 
| 
 | 
| If set, an underline in the label property indicates that the next character should be used for the mnemonic accelerator key in the overflow menu. 
For example, if the label property is "_Open" and use_underline is  Labels shown on tool buttons never have mnemonics on them; this property only affects the menu item on the overflow menu. Since: 2.4 
 | 
| 
 | 
| 
 | 
| 
 | ||||||||||||
| 
 
 
 |