MenuShell.insert

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

class MenuShell
void
insert

Parameters

child Widget

The gtk.MenuItem to add

position int

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