Ok so I am on 2.7.8.
> What x.y.z version of Python. How did you run it, exactly?

> Adding filemenu as a submenu of filemenu leads to infinite loop regress. 
> 
> On 3.4.1 with tcl/tk 8.6, this does not crash, but it might on an 
> 
> earlier version of Python and tcl/tk.
> Since menubar is left empty, it is not displayed.  Fix both problems with
> 
>menubar.add_cascade(label='TK UI Sample', menu=filemenu)
> 
> root.config(menu=menubar)
Yeah this fixed the problem. So the main menu object needs to be cascade 
instead of the filemenu. Will this need to be done every I create a new menu?


>and ran -- no crash, no error message, no menu. I entered text into box, 
>clicked Submit text, and OK on popup, and nothing happens. 
Im not quite sure what is happening here. Oh I just looked at the code and the 
part that sends the entry box text is in the wrong place or must have been 
unindented I have fixed this now and it works great.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to