PyDocs

Nav

Graphical user interfaces with Tk

Menu.insert

tkinter

method of Menu
  • Menu.insert(index, itemType, cnf={}, **kw)
Same as add(), except that the new entry is inserted just before the entry given by index instead of being appended to the end of the menu. itemType is one of 'command', 'cascade', 'checkbutton', 'radiobutton' or 'separator'. The insert_command(), insert_cascade(), insert_checkbutton(), insert_radiobutton() and insert_separator() convenience methods call this method with the corresponding itemType.
0 Examples
No examples for tkinter/Menu.insert.
See Also
No see-alsos for tkinter/Menu.insert
0 Notes
No notes for Menu.insert