Cascading menus with Tk

2005-05-20 Thread michelle
/index.htm) What I am trying to do is add cascading menus to a Tk menu widget like: File New... --- Router --- Firewall Open Exit This seems simple enough, but I can't get it to work...the two add_cascade methods (shown below), if used, run an endless loop that is difficult to break: mainWindow

Re: Cascading menus with Tk

2005-05-20 Thread Peter Otten
michelle wrote: What I am trying to do is add cascading menus to a Tk menu widget like: File New... --- Router --- Firewall Open Exit Just add the submenu with the Router and Firewall entries to the filemenu in the same way you added the submenu with the New, Open, and Exit

Re: Cascading menus with Tk

2005-05-20 Thread michelle
://www.pythonware.com/library/tkinter/introduction/index.htm) What I am trying to do is add cascading menus to a Tk menu widget like: File New... --- Router --- Firewall Open Exit This seems simple enough, but I can't get it to work...the two add_cascade methods (shown below), if used, run