Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed2a.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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'languages,': 0.04; 'subject:Python': 0.06; 'tkinter': 0.07; 'cc:addr:python-list': 0.11; 'python': 0.11; 'gui': 0.12; 'aiming': 0.16; 'backward': 0.16; 'clunky': 0.16; 'displayed.': 0.16; 'fine.': 0.16; 'finney': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'preserve': 0.16; 'subject:GUI': 0.16; 'widgets.': 0.16; 'wrote:': 0.18; 'library': 0.18; 'bit': 0.19; 'cc:addr:python.org': 0.22; 'unicode': 0.24; 'mon,': 0.24; 'looks': 0.24; 'cc:2**0': 0.24; 'asking': 0.27; 'header:In-Reply- To:1': 0.27; 'installed': 0.27; 'am,': 0.29; "doesn't": 0.30; 'characters': 0.30; 'newer': 0.30; 'message-id:@mail.gmail.com': 0.30; 'easier': 0.31; '(possibly': 0.31; 'breaking': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'writes:': 0.31; 'probably': 0.32; 'url:python': 0.33; 'problem': 0.35; 'basic': 0.35; "can't": 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'url:org': 0.36; 'should': 0.36; 'ben': 0.38; 'url:library': 0.38; 'does': 0.39; 'bad': 0.39; 'support,': 0.39; 'use.': 0.39; 'new': 0.61; 'url:3': 0.61; 'simply': 0.61; 'complete': 0.62; 'more': 0.64; 'skip:\xe2 10': 0.65; '2015': 0.84; 'subject:Best': 0.91; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=qh8DspUJ8Itsky2OnpUlcrjoFdxUQe2NXcdlS0/Kv10=; b=xQvXDAKOgdzA+HuXJNxKCbQ1tZrrpYHzD9wAikIRav1tUSf9+gKKKyLrO+j2QgcuHH 42Xr0fYeXKSKNjSO6Zbk8RAg5qbiuBvsxZrqV9S9uE0ecKOg5ew785v6x6VsgaRhvIei wjn3vIZlxulnoR0eJSqg+r3wJuHiCwBQ+pGWaYeZPNgbLkZbmm7j4lhPTibQGCfAXoFk 7WwIAUsNrDqGF14bzuZe6aMzuShbeJTbIyLTZYautKgXL47IKKzxl2/kZHzMTkWAoUTa ssUpSNizMWRUvIwxHA4JyqIkfbhPDF3Sana1n1E2vs7ABQoVdjHPct/K9CsZwHV792Tt Rf9g== MIME-Version: 1.0 X-Received: by 10.50.43.196 with SMTP id y4mr10006952igl.14.1430089591980; Sun, 26 Apr 2015 16:06:31 -0700 (PDT) In-Reply-To: <85d22qk54u.fsf@benfinney.id.au> References: <87h9s311r6.fsf@Equus.decebal.nl> <553cffc2$0$12998$c3e8da3$5496439d@news.astraweb.com> <85d22qk54u.fsf@benfinney.id.au> Date: Mon, 27 Apr 2015 09:06:31 +1000 Subject: Re: Best GUI for Python From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1430089600 news.xs4all.nl 2916 [2001:888:2000:d::a6]:37650 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:89433 On Mon, Apr 27, 2015 at 6:26 AM, Ben Finney wr= ote: > Steven D'Aprano writes: > >> Tkinter is easier to use, as it is standard with Python. So long as >> you have Tk/Tcl installed on your computer, Tkinter should work fine. >> >> However, Tkinter probably looks a bit more old fashioned. > > It doesn't have to. By using the newer =E2=80=98tkinter.ttk=E2=80=99 libr= ary > , the GUI will > use native look-and-feel widgets. > > Why not by default? To preserve backward compatibility. There are some > old GUI programs using basic Tkinter, and breaking the GUI is not a good > thing to do to programs which are otherwise working fine. So you only > get the newer widgets by asking for them explicitly. Does the new library also deal with the ongoing issues with Unicode support? AIUI there's some fundamental problem with Tkinter which means that (possibly only on Windows?) non-BMP characters simply can't be displayed. To me, that's a pretty bad flaw - we should be aiming new projects at complete Unicode support, which means Python 3 and a good GUI toolkit. PyGTK is a bit clunky in some areas, but I have GTK experience from other languages, so that's the one I personally use. ChrisA