Method

GtkToolbarget_nth_item

since: 2.4

Declaration [src]

GtkToolItem*
gtk_toolbar_get_nth_item (
  GtkToolbar* toolbar,
  gint n
)

Description [src]

Returns the n‘th item on toolbar, or NULL if the toolbar does not contain an n‘th item.

Available since: 2.4

Parameters

n

Type: gint

A position on the toolbar.

Return value

Type: GtkToolItem

The n‘th GtkToolItem on toolbar, or NULL if there isn’t an n‘th item.

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