GUI toolkit(s) status

wxjmfauth at gmail.com wxjmfauth at gmail.com
Wed Nov 26 15:36:56 CET 2014


Le mercredi 26 novembre 2014 12:48:04 UTC+1, Mark Summerfield a écrit :
> I've done a fair bit of Python GUI programming, so here's my 2c.
> 
> Tkinter is small, fast, and v. frustrating to use (but maybe the latter is just me). It looks good on Windows (from 8.5), ugly on Linux, and OK on Mac (but you have to do a fair bit of if MAC do this else do that.
> 
> The next three work on Win/Mac/Linux:
> 
> wxPython is available for Python 3 (as Phoenix) but it is big and there are lots of "near duplicate" widgets so it is quite hard to find the right ones to use. The docs don't have many examples and aren't fully updated for Phoenix which is still under development.
> 
> PySide works only with Qt 4. It is big but easy to install. However, I don't know how long it'll be supported and it hasn't been ported to Qt 5 (yet).
> 
> PyQt works with Qt 4 and Qt 5 is solid but is dual licensed. And it is big of course.
> 
> PyGObject (PyGtk's successor) is very nice in principle but effectively Unix only. I've never managed to create version-specific instances of it (to test against particular versions), something that's easy with PySide and PyQt (don't know about wxWidgets).
> 
> There's kivy which claims to be cross-platform but I haven't tried it.
> 
> And there is a pure-Python GUI initiative: PyGUI, but I'm not sure if that's still going or has got stuck.
> 
> I really hope that PyGUI or some other pure-python (+ maybe ctypes) GUI library is created for Python, but it is a really major undertaking...

I worked and experimented with everything you described
since, well I do not remember. (It should be possible to
find some of my comments in wxPython dev archive at the
wxPython 2.(0|1)? time).

That's why I wrote and initiated this thread:

"""
The single (not too buggy) GUI toolkit for CPython [*],
which works smoothly, coherently and *SAFELY* is
one of the Qt derivatives for Python 3.2.
(If used properly, one can cover [corrected] the whole
Unicode range).

Today, there are simply no more valid and working
GUI toolkits [corrected] running "out of the box". 
"""

jmf



More information about the Python-list mailing list