On Mon, 15 May 2006 18:47:16 -0400 (EDT) "Zubin Wadia" <[EMAIL PROTECTED]> wrote:
Hi Zubin, > root.config(relief=RIDGE, bg="lightblue", bd=3) doesn't seem to work it works for me (linux), maybe a platform issue? > I'm not sure if the menu() widget can be packed in a frame container?? > I don't think you can: >>> m=Menu(frame) >>> m.pack(side='top', fill='x') Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.2/lib-tk/Tkinter.py", line 1595, in pack_configure self.tk.call( TclError: can't pack ".135695884.135828540": it's a top-level window It seems like the Pmw.MenuBar widget can do what you want: >>> mb =Pmw.MenuBar(frame) >>> mb.pack(side='top', fill='x') >>> mb.addmenu('File', 'File') >>> adds a menu bar to the Frame, so maybe you will want to have a look at Pmw. I hope this helps Michael _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor