![]() |
![]() |
Public Types | |
typedef Toolbar_Helpers::ToolList | ToolList |
Public Methods | |
virtual | ~Toolbar () |
GtkToolbar* | gobj () |
const GtkToolbar* | gobj () const |
Toolbar () | |
void | set_orientation (Orientation orientation) |
Orientation | get_orientation () const |
Retrieves the current orientation of the toolbar. | |
void | set_toolbar_style (ToolbarStyle style) |
ToolbarStyle | get_toolbar_style () const |
Retrieves whether the toolbar has text, icons, or both . | |
void | set_tooltips (bool enable=true) |
bool | get_tooltips () const |
Retrieves whether tooltips are enabled. | |
void | set_icon_size (IconSize icon_size) |
This function sets the size of stock icons in the toolbar. | |
IconSize | get_icon_size () const |
Retrieves the icon size fo the toolbar. | |
void | unset_toolbar_style () |
Unsets a toolbar style set with set_style(), so that user preferences will be used to determine the toolbar style. | |
void | unset_icon_size () |
Unsets toolbar icon size set with set_icon_size(), so that user preferences will be used to determine the icon size. | |
Glib::SignalProxy1< void, Orientation > | signal_orientation_changed () |
Glib::SignalProxy1< void, ToolbarStyle > | signal_toolbar_style_changed () |
ToolList& | tools () |
const ToolList& | tools () const |
Glib::PropertyProxy<Orientation> | property_orientation () |
Glib::PropertyProxy<ToolbarStyle> | property_toolbar_style () |
Protected Methods | |
virtual void | on_orientation_changed (Orientation orientation) |
virtual void | on_toolbar_style_changed (ToolbarStyle style) |
Related Functions | |
(Note that these are not member functions.) | |
Gtk::Toolbar* | wrap (GtkToolbar* object, bool take_copy=false) |
|
|
|
|
|
|
|
Retrieves the icon size fo the toolbar. See set_icon_size().
|
|
Retrieves the current orientation of the toolbar. See set_orientation().
|
|
Retrieves whether the toolbar has text, icons, or both . See set_style().
|
|
Retrieves whether tooltips are enabled. See set_tooltips().
|
|
Reimplemented from Gtk::Container. |
|
Reimplemented from Gtk::Container. |
|
|
|
|
|
|
|
|
|
This function sets the size of stock icons in the toolbar. You can call it both before you add the icons and after they've been added. The size you set will override user preferences for the default icon size.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Unsets toolbar icon size set with set_icon_size(), so that user preferences will be used to determine the icon size.
|
|
Unsets a toolbar style set with set_style(), so that user preferences will be used to determine the toolbar style.
|
|
|