delete

(#<widget> 'delete index1 ?index2?)
Delete all of the menu entries between index1 and index2 inclusive. If index2 is omitted then it defaults to index1.

Attempts to delete a tear-off menu entry are ignored (instead, you should change the tearOff option to remove the tear-off entry).


© Author | Home | Sitemap