MenuShell.insert

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

class MenuShell
void
insert

Parameters

child gtk.widget.Widget

The #GtkMenuItem to add

position int

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