Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Gregory Ewing Newsgroups: comp.lang.python Subject: Re: Implicit initialization is EVIL! Date: Tue, 05 Jul 2011 23:11:15 +1200 Lines: 18 Message-ID: <97g9qlFootU1@mid.individual.net> References: <97dc7iF9eiU1@mid.individual.net> <78624344-9696-42c9-9ed8-9454c55c1d9f@g12g2000yqd.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net PeeKa4XkY7F0VV57J7QWcQEZ2O4XiZpzaOcq5ZopCPAniZGg73 Cancel-Lock: sha1:QXfEXk94rSvgbzCu0TaozhD/EPY= User-Agent: Mozilla Thunderbird 1.0.5 (Macintosh/20050711) X-Accept-Language: en-us, en In-Reply-To: <78624344-9696-42c9-9ed8-9454c55c1d9f@g12g2000yqd.googlegroups.com> Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:8818 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