Tkinter: Frames in nested classes?

Fredrik Lundh fredrik at pythonware.com
Fri Jul 13 17:59:23 CEST 2001


Joshua Weage wrote:
> class Frame1(Frame):
>         def __init__(self,master=None,cnf={},**kw):
>                 Frame.__init__(self,master=None,cnf={},**kw)

better make that:

    Frame.__init__(self, master, cnf, **kw)

</F>





More information about the Python-list mailing list