Method

GtkToolPaletteset_group_position

since: 2.20

Declaration [src]

void
gtk_tool_palette_set_group_position (
  GtkToolPalette* palette,
  GtkToolItemGroup* group,
  gint position
)

Description [src]

Sets the position of the group as an index of the tool palette. If position is 0 the group will become the first child, if position is -1 it will become the last child.

Available since: 2.20

Parameters

group

Type: GtkToolItemGroup

A GtkToolItemGroup which is a child of palette.

The data is owned by the caller of the method.
position

Type: gint

A new index for group.