Method

GtkMenureorder_child

Declaration [src]

void
gtk_menu_reorder_child (
  GtkMenu* menu,
  GtkWidget* child,
  gint position
)

Description [src]

Moves child to a new position in the list of menu children.

Parameters

child

Type: GtkWidget

The GtkMenuItem to move.

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

Type: gint

The new position to place child. Positions are numbered from 0 to n - 1