MenuShell.insert

void insert(gtk.widget.Widget child, int position)

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

Parameters

childThe #GtkMenuItem to add
positionThe position in the item list where child is added. Positions are numbered from 0 to n-1