Implicit initialization is EVIL!

Gregory Ewing greg.ewing at canterbury.ac.nz
Tue Jul 5 07:11:15 EDT 2011


rantingrick wrote:

> You say "root" windows are bad however any parent-child relationship
> has to BEGIN somewhere.

There's no need for *toplevel* windows to be children
of anything, though.

> HOWEVER any of the windows ARE in fact
> instances of Tk.Toplevel[1]. So they ARE all equal because they all
> have the same methods available to them.

No, they're not -- the root window is special, because
if you kill it, the whole application exits. Often that
is inconvenient.

-- 
Greg



More information about the Python-list mailing list