Re: Tkinter menu toplevel or frame

2007-03-15 Thread Matimus
> Please tell me is here anything that I should change. The way you have written it, master _must_ be a Toplevel object. So, maybe parent is the correct name, but it doesn't really matter. As a side note, there is no reason for this class to inherit Frame. Aside from packing and sizing the frame,

Tkinter menu toplevel or frame

2007-03-15 Thread Gigs_
what is the best way to write tkinter menus? As toplevels or as frame with Menubutton? im doing like this class MyWidget(Frame): def __init__(self, master=None):""" should this master be parent? Because my first tought was that this is toplevel master than i found that its not"""