Toolbar.getItemIndex

Returns the position of @item on the toolbar, starting from 0. It is an error if @item is not a child of the toolbar.

class Toolbar
int
getItemIndex

Parameters

item ToolItem

a #GtkToolItem that is a child of @toolbar

Return Value

Type: int

the position of item on the toolbar.

Meta