Method

GtkToolbarget_nth_item

Declaration [src]

GtkToolItem*
gtk_toolbar_get_nth_item (
  GtkToolbar* toolbar,
  gint n
)

Description [src]

Returns the nth item on toolbar, or NULL if the toolbar does not contain an nth item.

Available since:2.4

Parameters

n

Type: gint

A position on the toolbar.

Return value

Type: GtkToolItem

The nth GtkToolItem on toolbar, or NULL if there isn’t an nth item.

The data is owned by the instance.
The return value can be NULL.