Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #81265

Re: GUI toolkit(s) status

Path csiph.com!usenet.pasdenom.info!news.albasani.net!feeder.erje.net!eu.feeder.erje.net!bcyclone04.am1.xlned.com!bcyclone04.am1.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <torriem+gmail@torriefamily.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.009
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'python.': 0.02; 'see.': 0.07; 'bindings': 0.09; 'option,': 0.09; 'tcl/tk': 0.09; 'toolkit': 0.09; 'contribute': 0.11; 'python': 0.11; 'gui': 0.12; 'windows': 0.15; '"but': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'libraries.': 0.16; 'personally,': 0.16; 'python),': 0.16; 'subject:GUI': 0.16; 'tkinter.': 0.16; 'usable': 0.16; 'wrote:': 0.18; 'looked': 0.18; 'bit': 0.19; "python's": 0.19; 'programming': 0.22; 'header:User- Agent:1': 0.23; 'unicode': 0.24; 'fairly': 0.24; 'looks': 0.24; "i've": 0.25; 'switch': 0.26; 'tables': 0.26; 'header:In-Reply- To:1': 0.27; 'chris': 0.29; 'external': 0.29; 'am,': 0.29; 'subject:) ': 0.29; "i'm": 0.30; '(which': 0.31; 'code': 0.31; 'towards': 0.31; 'there.': 0.32; 'interface': 0.32; 'quite': 0.32; 'linux': 0.33; 'ago': 0.33; 'mac': 0.33; "can't": 0.35; 'agree': 0.35; 'something': 0.35; 'but': 0.35; 'there': 0.35; 'really': 0.36; 'c++': 0.36; 'behind': 0.37; 'so,': 0.37; 'message- id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'moving': 0.39; 'to:addr:python.org': 0.39; 'enough': 0.39; 'received:org': 0.40; 'even': 0.60; 'remove': 0.60; 'most': 0.60; 'full': 0.61; 'act': 0.63; 'more': 0.64; 'due': 0.66; 'facilities': 0.69; 'foreign': 0.74; 'soon,': 0.74; 'sweet': 0.74; 'lack': 0.78; 'manpower': 0.84; 'nice,': 0.84; 'supporters.': 0.84; 'windowing': 0.84; 'employ': 0.93
X-Virus-Scanned amavisd-new at torriefamily.org
Date Fri, 21 Nov 2014 21:07:45 -0700
From Michael Torrie <torriem@gmail.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131118 Thunderbird/17.0.11
MIME-Version 1.0
To python-list@python.org
Subject Re: GUI toolkit(s) status
References <5da0e7df-fd85-42b8-abfd-4db0dd9ff519@googlegroups.com> <7xwq6qgty4.fsf@ruckus.brouhaha.com> <mailman.16008.1416472839.18130.python-list@python.org> <m4kaqg$p62$1@dont-email.me> <CAPTjJmpFW7=V-=7hjbnBcf+Ezch+YEUgRj841SSeARLOqGkNgA@mail.gmail.com>
In-Reply-To <CAPTjJmpFW7=V-=7hjbnBcf+Ezch+YEUgRj841SSeARLOqGkNgA@mail.gmail.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.16133.1416629277.18130.python-list@python.org> (permalink)
Lines 32
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1416629277 news.xs4all.nl 2853 [2001:888:2000:d::a6]:49416
X-Complaints-To abuse@xs4all.nl
X-Received-Bytes 5401
X-Received-Body-CRC 2345363718
Xref csiph.com comp.lang.python:81265

Show key headers only | View raw


On 11/20/2014 02:17 AM, Chris Angelico wrote:
> But I agree about the issues with tkinter. So, let's see. Shall we
> wait for Tcl/Tk Unicode support? Recommend people switch to PyGTK? To
> PyQt? To wxPython? To something else? Personally, I'm quite happy with
> GTK2 (though that's with Pike, not Python), and it does have full
> Unicode support; but there are some issues with the interface that
> make it feel a bit clunky. Every other windowing toolkit has its own
> flaws. Even if one of them were to be blessed into the stdlib (which
> would remove the whole "but it's an external dependency" problem),
> there's still no perfect option, and every toolkit will have its
> staunch supporters.

GTK2 and GTK3 are pretty sweet to work with in Python.  The bindings are
very nice and fairly idiomatic. So it feels natural.  However GTK is not
really cross-platform in any usable way.  It's really Unix-only, though
more and more it's moving towards Linux-only.  Due to a lack of manpower
and demand, the Windows port lags far behind X11, and despite decent
theming support (I think it can employ mstheme.dll to draw widgets), it
feels foreign and clunky.  On Mac things are even worse, as far as I can
see.  Just not enough people who can and want to contribute there.

I can't speak for wxWidgets, but when I last looked at it years ago it
fairly reeked of MFC-style GUI programming with event tables instead of
a nice, flexible signal/callback interface.  Has this changed?

My current recommendation is to use PyQt or PySide.  I'm going to look
at PySide soon, but PyQt feels a bit foreign on Python.  Code comes out
looking like C++ using Python keywords.  It has its own facilities for
many things as well that overlap Python's standard libraries.  But all
in all it is the most cross-platform of any that I've seen.  It looks
and can act fairly native on Windows and Mac.  Ironically I find Qt
looks best on Linux when using the GTK theme engine.

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-19 23:59 -0800
  Re: GUI toolkit(s) status Paul Rubin <no.email@nospam.invalid> - 2014-11-20 00:25 -0800
    Re: GUI toolkit(s) status Chris Angelico <rosuav@gmail.com> - 2014-11-20 19:40 +1100
      Re: GUI toolkit(s) status Christian Gollwitzer <auriocus@gmx.de> - 2014-11-20 10:04 +0100
        Re: GUI toolkit(s) status Chris Angelico <rosuav@gmail.com> - 2014-11-20 20:17 +1100
        Re: GUI toolkit(s) status Terry Reedy <tjreedy@udel.edu> - 2014-11-20 23:34 -0500
          Re: GUI toolkit(s) status Paul Rubin <no.email@nospam.invalid> - 2014-11-20 20:49 -0800
            Re: GUI toolkit(s) status Christian Gollwitzer <auriocus@gmx.de> - 2014-11-21 08:57 +0100
          Re: GUI toolkit(s) status Kevin Walzer <kw@codebykevin.com> - 2014-11-21 09:13 -0500
            Re: GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-22 00:59 -0800
              Re: GUI toolkit(s) status Kevin Walzer <kw@codebykevin.com> - 2014-11-22 12:40 -0500
                Re: GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-22 10:49 -0800
          Re: GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-21 12:38 -0800
            Re: GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-21 12:49 -0800
          Re: GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-22 10:33 -0800
            Re: GUI toolkit(s) status Christian Gollwitzer <auriocus@gmx.de> - 2014-11-22 20:34 +0100
              Re: GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-24 11:24 -0800
        Re: GUI toolkit(s) status Kevin Walzer <kw@codebykevin.com> - 2014-11-21 09:05 -0500
        Re: GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-21 12:15 -0800
        Re: GUI toolkit(s) status Michael Torrie <torriem@gmail.com> - 2014-11-21 21:07 -0700
          Re: GUI toolkit(s) status Dave Cook <davecook@nowhere.net> - 2014-11-26 09:40 +0000
            Re: GUI toolkit(s) status Mark Summerfield <list@qtrac.plus.com> - 2014-11-26 03:47 -0800
              Re: GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-26 06:36 -0800
                Re: GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-26 07:11 -0800
            Re: GUI toolkit(s) status Michael Torrie <torriem@gmail.com> - 2014-11-26 20:19 -0700
        Re: GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-22 00:12 -0800
        Re: GUI toolkit(s) status wxjmfauth@gmail.com - 2014-11-22 02:46 -0800
        Re: GUI toolkit(s) status Ian Kelly <ian.g.kelly@gmail.com> - 2014-11-24 08:18 -0700

csiph-web