Recommendation for GUI lib?

Michael Torrie torriem at gmail.com
Tue Jun 7 18:34:42 EDT 2016


Accidentally didn't reply to the list...

On 06/07/2016 03:45 PM, Roland Koebler via Python-list wrote:
> You can also try Qt (http://qt.io), and one of its Python-bindings.
> But I was never happy with Qt and think some GUI-concepts of GTK+ are much
> better than the ones of Qt, and I like Glade much more than the Qt
designer.

Yes there are some concepts in regards to GUI layout that are different
from Qt and GTK.  Particularly how widgets are packed into boxes and how
they resize.  At first I didn't like the Qt model with its "spring"
spacer thing.  But I got used to it and found it was actually more
flexible than GTK's packing method.  Just a slightly different way of
thinking about layout is all.

I think the GTK bindings are a bit more comfortable in Python that Qt's
are.  Often times Qt apps turn out more like C++ apps transliterated
into Python.  They don't quite feel as "pythonic" as the GTK+ apps.

Both are excellent toolkits.  I think Qt is more complete and has more
batteries included, particularly on the other platforms.  For example,
vector graphics. GTK+ defers that to Cairo.

All that said, I still prefer GTK also.





More information about the Python-list mailing list