Re: [Tkinter-discuss] Dealing with a Tk reference

2016-09-04 Thread Michael Lange
Hi, On Sun, 4 Sep 2016 10:56:20 -0300 Cam Farnell wrote: (...) > In my application it is not convenient to keep the reference to the > Menu in self.menuBar. Later when it comes time to add another another > cascade to the menu I was hoping to be able access the menu bar using: > > menuBar

[Tkinter-discuss] Dealing with a Tk reference

2016-09-04 Thread Cam Farnell
I've been using New Mexico Tech example code from here: http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/menu-toplevel.html to create a top-level menu. The example code is: top = self.winfo_toplevel() self.menuBar = tk.Menu(top) top['menu'] = self.menuBar self.subMenu = tk.Men