Method

GtkMenuShellinsert

Declaration [src]

void
gtk_menu_shell_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 GtkWidget
 

The GtkMenuItem to add.

 The data is owned by the caller of the function.
position gint
 

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