Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!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; 'broken': 0.03; 'utf-8': 0.07; 'api': 0.09; 'cc:addr:python-list': 0.09; 'scripts': 0.09; 'worked.': 0.09; 'python': 0.10; '"hello': 0.16; '6:00': 0.16; 'bindings,': 0.16; 'checking,': 0.16; 'comparable.': 0.16; 'complains': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'invalid.': 0.16; 'sadly': 0.16; 'wrote:': 0.16; 'byte': 0.18; 'gui': 0.18; 'tests': 0.18; 'input': 0.18; '>>>': 0.20; 'windows': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'handles': 0.20; 'not,': 0.22; 'aims': 0.22; 'header:In-Reply-To:1': 0.24; "doesn't": 0.26; 'point.': 0.27; 'message-id:@mail.gmail.com': 0.27; '(my': 0.29; 'concern': 0.29; 'windows,': 0.29; 'work.': 0.30; 'probably': 0.31; 'entry': 0.31; 'maybe': 0.33; 'problem': 0.33; 'received:google.com': 0.35; 'unicode': 0.35; 'something': 0.35; 'supports': 0.35; 'but': 0.36; 'there': 0.36; 'subject:?': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; '12,': 0.37; 'support,': 0.37; 'christian': 0.38; 'means': 0.39; 'sure': 0.39; 'rather': 0.39; 'well.': 0.40; 'still': 0.40; 'some': 0.40; 'him': 0.60; 'email addr:gmail.com': 0.62; 'more': 0.63; 'positions': 0.64; 'better.': 0.66; 'rare': 0.66; 'worth': 0.67; 'jul': 0.72; 'chinese': 0.79; 'chrisa': 0.84; 'gollwitzer': 0.84; 'gtk': 0.84; 'to:none': 0.91; 'bmp,': 0.91; 'maybe,': 0.91 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; bh=A7C2sroFaG1dSt8AcELnILe6F3VfYesqiIa+OnLHQG4=; b=ZxGq7HJhXmF/aOR8mriJ1bt/E/pi3UeklbqnQQq4tIxCrp0d8DQdNzU3hYILCrOtRE SblhRuw2VoRcSW/gs4vxcZx8pMeofOTvF16bbU8uZu1UkpMv8uG8y5Q1fZai2NlAayYs 6PQPbPBNv5xfpMbIhKE0yMHdu3VnDaQK6bOahyqecHagFuShcxqeEkDSBRhNckqpImyT 6sMmVs7brRJ1qKFW/uJhF8ehI8qcFe/87Pfa78eqAhnMz12G3zl4SBDhQ+/3qo1YCONn fXT6adgjTa08FPDSLzm88Pir2trL7lHUBSgWUvejoCD0Qu7SebsXwBQPxWBlPf62rxhf 0Uiw== MIME-Version: 1.0 X-Received: by 10.107.159.66 with SMTP id i63mr42599081ioe.68.1436691249005; Sun, 12 Jul 2015 01:54:09 -0700 (PDT) In-Reply-To: References: <194c69b3-d994-400a-9613-6078c4ad50f4@googlegroups.com> Date: Sun, 12 Jul 2015 18:54:08 +1000 Subject: Re: beginners choice: wx or tk? From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 31 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1436691257 news.xs4all.nl 2936 [2001:888:2000:d::a6]:44232 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93725 On Sun, Jul 12, 2015 at 6:00 PM, Christian Gollwitzer wrote: > Am 12.07.15 um 09:55 schrieb Ulli Horlacher: >> >> wxjmfauth@gmail.com wrote: >> >>> On Windows, there are no more usable, working GUI toolkits (wrappers). >> >> >> What is the problem with tkinter? >> A first "hello world" program worked. >> > Don't listen. > jmf is a troll, who always complains about Unicode support, which is broken > accoring to him in all ways. > > In the case of Tk, sadly he would have a point: Tk only supports the BMP, > which means that you cannot input astral characters into an entry box > (emoticons, some rare Chinese characters...) Still most scripts *do* work. > QT handles this better. And jmf's complaints are otherwise invalid. I don't know about the Python bindings, but I know for sure that GTK has excellent Unicode support. (My only concern is that one particular API uses UTF-8 byte positions rather than Unicode codepoint indices, which may or may not have been papered over in the Python bindings.) Qt is probably comparable. wxPython/wxWindows maybe, maybe not, given that it aims for Windows API similarity. But it's something worth checking, given that Tk doesn't do so well. And yet... a few simple tests will prove the point. Don't listen to jmf, just check if you care. ChrisA