pygtk2 vs. pyqt. pros and cons

Tim Evans t.evans at paradise.net.nz
Sat Mar 1 16:28:19 EST 2003


ivo at NOSPAMamaze.nl writes:

> gabor <gabor at z10n.net> wrote:
> : hi,
> : 
> : i have to decide between pyqt and pygtk ( i simply find tkinter ugly :).
> : sorry about that, it's a personal choice ).
> : 
> : so if you are familiar with both of them,
> : please tell me about your experiences, and
> : tell me which one do you recommend.
> : 
> 
> I've been doing some UI selection myself lately. Here are some pro's / cons:
>
[snip] 
> GTK:
>   Pro's:
>    - Glade (!)
>    - Themability
>    - Quite functional widgets (though still limited in 1.2)
>    - Works with Twisted (www.twistedmatrix.com)
>   Con's:
>    - Doesn't really work on windows

You should look at GTK 2.2.  It is just generally better than the
old 1.2, with some standout features being:
 - New multi-columned list and tree widget.
 - New text widget (based on Tk, I think).
 - Stock icon support is now part of GTK, not a GNOME extension, and
   the new stock icons are really pretty.
 - The Python API has been cleaned up a lot.
 - Can use markup on labels, e.g. "normal <b>bold</b> <i>italic</i>" works.
 - Works better on win32 than it used to.
 - Better default theme, which also fits better with win32.

-- 
Tim Evans




More information about the Python-list mailing list