Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'plenty': 0.04; '(use': 0.09; 'attribute': 0.09; 'top-level': 0.09; 'am,': 0.13; 'gui': 0.13; 'received:209.85.214.174': 0.13; 'received:mail- iw0-f174.google.com': 0.13; 'wrote:': 0.15; 'confused.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'pity': 0.16; 'rantingrick': 0.16; 'header:In-Reply-To:1': 0.22; 'suggests': 0.23; 'tue,': 0.23; 'windows': 0.26; 'received:209.85.214': 0.28; 'message-id:@mail.gmail.com': 0.28; 'consist': 0.29; 'toolkit': 0.30; 'too': 0.32; "i'll": 0.33; 'comment': 0.33; "i've": 0.33; 'to:addr:python-list': 0.34; 'there': 0.34; 'reasons': 0.34; 'hacking': 0.35; 'but': 0.37; 'using': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.38; 'either': 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.40; 'your': 0.60; 'ever': 0.65; 'here.': 0.66; 'subject:!': 0.67; 'difficult,': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=EYh5W+9SV+iDWM8S43+Gj2APHMIPoPoWUNllo38nocE=; b=XwKMjUVmhap85Y0CobKixq5SoeHIha4cjbQfv7Vt8rRY5fC2lkKMRH2lEvINtXMeaH aFf2uyPLNbtCbfIPNvtu7aHMAhNB183osrHuuxXZQHvWPHO5c4K/0CLrdADhRdwfRfef r/YZZrbXjvVbUw1lrDEgUKGODLsOWfWGWWTpg= MIME-Version: 1.0 In-Reply-To: <78624344-9696-42c9-9ed8-9454c55c1d9f@g12g2000yqd.googlegroups.com> References: <97dc7iF9eiU1@mid.individual.net> <78624344-9696-42c9-9ed8-9454c55c1d9f@g12g2000yqd.googlegroups.com> Date: Tue, 5 Jul 2011 01:40:02 +1000 Subject: Re: Implicit initialization is EVIL! From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1309794010 news.xs4all.nl 21841 [2001:888:2000:d::a6]:47693 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:8771 On Tue, Jul 5, 2011 at 1:19 AM, rantingrick wrote: > But let's dig a little deeper here. Your comment suggests that you > "personally" need to create multiple windows for your applications. Is > this correct? If so i pity any users of such application as they would > be thoroughly confused. Most applications consist of one main window > (a Tkinter.Tk instance). The only need for extra Toplevel windows is > in the form of modal dialogs (use tkSimpleDialog.Dialog) or tool > windows (use Tk.Toplevel with attribute '-toolwindow'=True). Uhh, sorry. No. There are plenty of good reasons for one application to make multiple top-level windows, and if I ever find myself using a toolkit that makes this difficult, I'll either be hacking the toolkit or using a different one. I've been building GUI applications for far too long to not want features like that. ChrisA