Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Michael Torrie Newsgroups: comp.lang.python Subject: Re: Getting back into PyQt and not loving it. Date: Sun, 26 Jun 2016 20:41:00 -0600 Lines: 25 Message-ID: References: <7583145f-fa2a-6846-3cd9-9814c7006fdd@gmail.com> <8470bc54-1cd5-49e0-852c-9729f2747319@googlegroups.com> <31b94dd8-d066-a014-c38d-d5aed7452e58@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de aJB4N4O9jHqOfJmVmP0MvgAPR4oRqHGrQngWuhKsXKQQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'tool,': 0.07; 'bindings': 0.09; 'subject:Getting': 0.09; 'subject:into': 0.09; 'python': 0.10; 'python.': 0.11; 'subject:not': 0.11; 'backend': 0.15; '(file': 0.16; 'early.': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'gobject': 0.16; 'iteration.': 0.16; 'programmers.': 0.16; 'python-based': 0.16; 'pythonic': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'shame.': 0.16; 'subject:PyQt': 0.16; 'wrote:': 0.16; 'linux,': 0.18; 'gui': 0.18; 'versions': 0.20; 'windows': 0.20; 'tkinter': 0.22; 'seems': 0.23; 'written': 0.24; 'header:In-Reply-To:1': 0.24; 'header:User- Agent:1': 0.26; "doesn't": 0.26; 'structure,': 0.29; 'print': 0.30; "i'd": 0.31; 'guess': 0.31; 'probably': 0.31; "can't": 0.32; 'message-id:@gmail.com': 0.34; 'integrate': 0.35; 'quite': 0.35; 'there': 0.36; 'development.': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'say': 0.37; 'received:org': 0.37; 'integration': 0.38; 'stuff': 0.38; 'data': 0.39; 'sure': 0.39; 'application': 0.39; 'received:192': 0.39; 'rather': 0.39; 'well.': 0.40; 'to:addr:python.org': 0.40; 'where': 0.40; 'some': 0.40; 'ever': 0.60; 'your': 0.60; 'skip:u 10': 0.61; 'real': 0.62; 'charset:windows-1252': 0.62; 'town': 0.63; 'more': 0.63; 'different': 0.63; 'between': 0.65; 'choice.': 0.93 X-Virus-Scanned: amavisd-new at torriefamily.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 In-Reply-To: <8470bc54-1cd5-49e0-852c-9729f2747319@googlegroups.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <31b94dd8-d066-a014-c38d-d5aed7452e58@gmail.com> X-Mailman-Original-References: <7583145f-fa2a-6846-3cd9-9814c7006fdd@gmail.com> <8470bc54-1cd5-49e0-852c-9729f2747319@googlegroups.com> Xref: csiph.com comp.lang.python:110550 On 06/26/2016 07:05 PM, llanitedave wrote: > Not sure that wxPython is really any different in that respect, and > Tkinter doesn't feel Pythonic to me, either -- considering how it's > Tk at heart. So what's the alternative? There really is no good > Python-based GUI tool, and that's a shame. Guess I kind of ended my email early. Actually GTK+ is pretty nice to work with in Python. The bindings feel quite good and it's hard to tell where stuff is written in python and where it's written in C. The integration between Python data types and the glib backend stuff is pretty seamless. I can't recall ever wrapping up stuff in a GObject structure, and Python idioms work rather well including iteration. Try it out; it's pretty slick. GTK+'s downsides are that though it's available on Windows and Mac, those versions don't get as much love and without some real work don't integrate very well. Also GTK+ development seems to focus more on Gnome than on general application development. If GTK+ had first-class support on Windows and Mac, including native themes and seamless UI integration (file and print dialogs), I'd say GTK+ would be the only game in town for Python programmers. Unfortunately, unless you're only concerned with Linux, GTK+ is probably not going to be your choice.