Re: [Tutor] Creating Tkinter Menubars

2005-11-16 Thread Michael Lange
On Tue, 15 Nov 2005 16:17:53 -0500 Double Six [EMAIL PROTECTED] wrote: Hi, I am testing the following Tkinter code (attached at the end of this message) by Fredrik Lundh on a Mac OS X 10.4.2 with Python version 2.3. I do get a root window, but it is totally blank without the desirable

Re: [Tutor] Creating Tkinter Menubars

2005-11-16 Thread Double Six
Hi Michael, Thank you very much for the help. I tried the simpler code you provided, but unfortunatly I still got a blank window without any trace of menubars. Any other insights? Thanks, Joe from Tkinter import * root = Tk() menubar = Menu(root) menu = Menu(menubar, tearoff=0)

Re: [Tutor] Creating Tkinter Menubars

2005-11-16 Thread Alan Gauld
version 2.3. I do get a root window, but it is totally blank without the desirable menubars such as File and Edit. What am I missing? At a guess you forgot to pack() the menu? Thats usually whats wrong when widgets fail to appear as expected! :-) Alan G.

Re: [Tutor] Creating Tkinter Menubars

2005-11-16 Thread John Fouhy
On 17/11/05, Alan Gauld [EMAIL PROTECTED] wrote: At a guess you forgot to pack() the menu? Thats usually whats wrong when widgets fail to appear as expected! :-) You don't pack() menus --- you attach them to a Tk() or a Toplevel() by calling .config() with the menu= option (like in Michael's

[Tutor] Creating Tkinter Menubars

2005-11-15 Thread Double Six
Hi, I am testing the following Tkinter code (attached at the end of this message) by Fredrik Lundh on a Mac OS X 10.4.2 with Python version 2.3. I do get a root window, but it is totally blank without the desirable menubars such as File and Edit. What am I missing? Any help will be highly