Method

GtkToolItemGroupget_item_position

since: 2.20

Declaration [src]

gint
gtk_tool_item_group_get_item_position (
  GtkToolItemGroup* group,
  GtkToolItem* item
)

Description [src]

Gets the position of item in group as index.

Available since: 2.20

Parameters

item

Type: GtkToolItem

A GtkToolItem.

The data is owned by the caller of the method.

Return value

Type: gint

The index of item in group or -1 if item is no child of group.