Method

GtkToolPaletteget_group_position

since: 2.20

Declaration [src]

gint
gtk_tool_palette_get_group_position (
  GtkToolPalette* palette,
  GtkToolItemGroup* group
)

Description [src]

Gets the position of group in palette as index. See gtk_tool_palette_set_group_position().

Available since: 2.20

Parameters

group

Type: GtkToolItemGroup

A GtkToolItemGroup.

The data is owned by the caller of the method.

Return value

Type: gint

The index of group or -1 if group is not a child of palette.