Re: How do I insert a menu item in an existing menu.

2009-08-30 Thread John Ladasky
You might want to direct your wxPython questions to the dedicated wxPython newsgroup. It's Google-only, and thus not part of the Usenet hierarchy. But it's the most on-topic newsgroup you will find. http://groups.google.com/group/wxpython-users I attempted to crosspost this article to wx-python

Re: How do I insert a menu item in an existing menu.

2009-08-26 Thread MRAB
BlueFlash wrote: Idea: Use of a RecentFileList, update element 0 with new file opened. Appending a menu is easy menu.Append(-1, "Menu Name") when I try to insert a new menu item menu.Insert(-1, position, "Menu Name") does not work. The following comments are the result of a brief search of

How do I insert a menu item in an existing menu.

2009-08-26 Thread BlueFlash
Idea: Use of a RecentFileList, update element 0 with new file opened. Appending a menu is easy menu.Append(-1, "Menu Name") when I try to insert a new menu item menu.Insert(-1, position, "Menu Name") does not work. full code: def addnew(self, position, path): path = path.strip()