1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 create bars of buttons and other widgets.
7 <!-- ##### SECTION Long_Description ##### -->
9 A toolbar is created with a call to gtk_toolbar_new().
12 Buttons with text and/or images are added with gtk_toolbar_append_item(), gtk_toolbar_prepend_item(), and gtk_toolbar_insert_item().
15 Any of #GtkToggleButton, #GtkRadioButton, or an arbitrary widget can be added to the toolbar with gtk_toolbar_append_element(), gtk_toolbar_prepend_element(), and gtk_toolbar_insert_element().
18 Widgets can be visibly grouped by adding gaps between widgets using gtk_toolbar_append_space(), gtk_toolbar_prepend_space(), and gtk_toolbar_insert_space().
21 <!-- ##### SECTION See_Also ##### -->
25 <term>#GtkToolTips</term>
26 <listitem><para>Change the properties of a #GtkToolbar's #GtkTooltips.</para></listitem>
29 <term>#GtkTipsQuery</term>
30 <listitem><para>Make use of the private tips of toolbar elements.</para></listitem>
35 <!-- ##### STRUCT GtkToolbar ##### -->
37 <structfield>num_children</structfield> is an integer specifying how many toolbar items the #GtkToolbar contains. <structfield>children</structfield> is a #GList of the child widgets of the toolbar.
40 <structfield>orientation</structfield>
44 <!-- ##### ENUM GtkToolbarChildType ##### -->
46 #GtkToolbarChildType is used to set the type of new elements that are added
50 @GTK_TOOLBAR_CHILD_SPACE: a space in the style of the toolbar's #GtkToolbarSpaceStyle.
51 @GTK_TOOLBAR_CHILD_BUTTON: a #GtkButton.
52 @GTK_TOOLBAR_CHILD_TOGGLEBUTTON: a #GtkToggleButton.
53 @GTK_TOOLBAR_CHILD_RADIOBUTTON: a #GtkRadioButton.
54 @GTK_TOOLBAR_CHILD_WIDGET: a standard #GtkWidget.
56 <!-- ##### ENUM GtkToolbarSpaceStyle ##### -->
61 @GTK_TOOLBAR_SPACE_EMPTY:
62 @GTK_TOOLBAR_SPACE_LINE:
64 <!-- ##### STRUCT GtkToolbarChild ##### -->
74 <!-- ##### FUNCTION gtk_toolbar_new ##### -->
79 @Returns: the newly-created toolbar.
82 <!-- ##### FUNCTION gtk_toolbar_insert ##### -->
92 <!-- ##### FUNCTION gtk_toolbar_get_item_index ##### -->
102 <!-- ##### FUNCTION gtk_toolbar_get_n_items ##### -->
111 <!-- ##### FUNCTION gtk_toolbar_get_nth_item ##### -->
121 <!-- ##### FUNCTION gtk_toolbar_get_drop_index ##### -->
132 <!-- ##### FUNCTION gtk_toolbar_set_show_arrow ##### -->
141 <!-- ##### FUNCTION gtk_toolbar_set_orientation ##### -->
150 <!-- ##### FUNCTION gtk_toolbar_set_tooltips ##### -->
159 <!-- ##### FUNCTION gtk_toolbar_unset_icon_size ##### -->
167 <!-- ##### FUNCTION gtk_toolbar_get_show_arrow ##### -->
176 <!-- ##### FUNCTION gtk_toolbar_get_orientation ##### -->
185 <!-- ##### FUNCTION gtk_toolbar_get_style ##### -->
194 <!-- ##### FUNCTION gtk_toolbar_get_icon_size ##### -->
203 <!-- ##### FUNCTION gtk_toolbar_get_tooltips ##### -->
212 <!-- ##### FUNCTION gtk_toolbar_get_relief_style ##### -->
221 <!-- ##### FUNCTION gtk_toolbar_append_item ##### -->
229 @tooltip_private_text:
236 <!-- ##### FUNCTION gtk_toolbar_prepend_item ##### -->
244 @tooltip_private_text:
251 <!-- ##### FUNCTION gtk_toolbar_insert_item ##### -->
259 @tooltip_private_text:
267 <!-- ##### FUNCTION gtk_toolbar_append_space ##### -->
275 <!-- ##### FUNCTION gtk_toolbar_prepend_space ##### -->
283 <!-- ##### FUNCTION gtk_toolbar_insert_space ##### -->
292 <!-- ##### FUNCTION gtk_toolbar_append_element ##### -->
305 @tooltip_private_text:
312 <!-- ##### FUNCTION gtk_toolbar_prepend_element ##### -->
325 @tooltip_private_text:
332 <!-- ##### FUNCTION gtk_toolbar_insert_element ##### -->
342 @tooltip_private_text:
350 <!-- ##### FUNCTION gtk_toolbar_append_widget ##### -->
358 @tooltip_private_text:
361 <!-- ##### FUNCTION gtk_toolbar_prepend_widget ##### -->
369 @tooltip_private_text:
372 <!-- ##### FUNCTION gtk_toolbar_insert_widget ##### -->
380 @tooltip_private_text:
384 <!-- ##### FUNCTION gtk_toolbar_set_style ##### -->
393 <!-- ##### FUNCTION gtk_toolbar_insert_stock ##### -->
401 @tooltip_private_text:
408 <!-- ##### FUNCTION gtk_toolbar_set_icon_size ##### -->
417 <!-- ##### FUNCTION gtk_toolbar_remove_space ##### -->
426 <!-- ##### FUNCTION gtk_toolbar_unset_style ##### -->
434 <!-- ##### SIGNAL GtkToolbar::focus-home-or-end ##### -->
439 @toolbar: the object which received the signal.
443 <!-- ##### SIGNAL GtkToolbar::move-focus ##### -->
448 @toolbar: the object which received the signal.
452 <!-- ##### SIGNAL GtkToolbar::orientation-changed ##### -->
457 @toolbar: the object which received the signal.
458 @orientation: the new #GtkOrientation of the toolbar.
460 <!-- ##### SIGNAL GtkToolbar::popup-context-menu ##### -->
465 @toolbar: the object which received the signal.
468 <!-- ##### SIGNAL GtkToolbar::style-changed ##### -->
476 <!-- ##### ARG GtkToolbar:orientation ##### -->
481 <!-- ##### ARG GtkToolbar:show-arrow ##### -->
486 <!-- ##### ARG GtkToolbar:toolbar-style ##### -->
491 <!-- ##### ARG GtkToolbar:expand ##### -->
496 <!-- ##### ARG GtkToolbar:homogeneous ##### -->
501 <!-- ##### ARG GtkToolbar:pack-end ##### -->
506 <!-- ##### ARG GtkToolbar:button-relief ##### -->
511 <!-- ##### ARG GtkToolbar:internal-padding ##### -->
516 <!-- ##### ARG GtkToolbar:shadow-type ##### -->
521 <!-- ##### ARG GtkToolbar:space-size ##### -->
526 <!-- ##### ARG GtkToolbar:space-style ##### -->