Virtual Method

GtkMenuShellinsert

Declaration [src]

void
insert (
  GtkMenuShell* menu_shell,
  GtkWidget* child,
  gint position
)

Description [src]

Adds a new GtkMenuItem to the menu shell’s item list at the position indicated by position.

Parameters

child

Type: GtkWidget

The GtkMenuItem to add.

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

Type: gint

The position in the item list where child is added. Positions are numbered from 0 to n-1.