GtkToolbar
A toolbar widget that displays GtkToolItems.
Object Hierarchy
Description
A toolbar displays buttons, dropdown menus and other widgets in a row.
The widgets need to be subclasses of GtkToolItem
and can be added with insert() and
deleted with remove() .
You can group items on the toolbar by using
GtkSeparatorToolItem. If the
expand is set to
true, and
draw set to
false, it forces all following items to the end of the
toolbar.
If you get a warning like
Gtk-WARNING **: Mixing deprecated and non-deprecated
GtkToolbar API is not allowed remember that
insert() is the
only valid method to add items. All other
prepend_*, append_* and
insert_*methods are deprecated.
Constructors
--
Creates a new toolbar instance.
Properties
Use get_property and set_property methods to access these.
orientation:
The orientation of the toolbar.
show_arrow:
If an arrow should be shown if the toolbar doesn't fit.
toolbar-style:
How to draw the toolbar.
Signals
"focus-home-or-end"
Internal use only.
"move-focus"
Internal use only.
"orientation-changed"
The orientation has been changed.
"popup-context-menu"
The user right-clicked the toolbar.
"style-changed"
The style of the toolbar has been changed.