Method

GtkToolbarinsert

since: 2.4

Declaration [src]

void
gtk_toolbar_insert (
  GtkToolbar* toolbar,
  GtkToolItem* item,
  gint pos
)

Description [src]

Insert a GtkToolItem into the toolbar at position pos. If pos is 0 the item is prepended to the start of the toolbar. If pos is negative, the item is appended to the end of the toolbar.

Available since: 2.4

Parameters

item

Type: GtkToolItem

A GtkToolItem.

The data is owned by the caller of the method.
pos

Type: gint

The position of the new item.