[Python-3000] Requirements for a standard GUI library

Johan Dahlin jdahlin at async.com.br
Fri May 12 22:24:33 CEST 2006


Travis E. Oliphant wrote:
> Greg Ewing wrote:
>> Travis E. Oliphant wrote:
>>> The only thing I would wish different is to get rid of the PyGTK 
>>> dependency.   I think PyGUI should be a wrapper directly on top of GNOME
>> Perhaps you have Gnome and Gtk confused? Gnome is the
>> desktop, Gtk is the UI library that Gnome applications
>> use.
> 
> No, I understand the difference.  I was referring to the gnomeui 
> libraries which have a series of standard dialog boxes and higher-level 
> widgets that give the gnome desktop it's look-and-feel.   I realize that 
> gtk also has standard dialog boxes.
> 
> See, for example,  http://freshmeat.net/projects/libgnomeui/

You're still confused.

libgnomeui uses GTK+, it does in fact do very little on top of it.
It's also not used too much these days, it's been on the to-be-deprecated
list for a long while.
The current plan is to move it into GTK+ itself, most of it is already
done in GTK+ 2.10.

It's not possible to write an application using only libgnomeui, you need
to use GTK+ at some point.

Even so, if you want to start doing this from python you would need to have
some bindings, eg duplicating the work done in PyGTK.

> That sounds reasonable.   As I said before, I like the idea of PyGUI. 
> My main consternation is wxWindows.  I'm not a big fan of how wxPython 
> builds on top of wxWindows which builds on top of GTK which itself 
> builds on GDI which is itself a cross-platform layer on top of X11. 
> There are way too many layers of indirection there for my tastes.   As a 
> result, my (limited) experience with wxWindows on Linux has not been 
> pleasant.

GDI is windows only, you meant GDK.

wxWindows applications always seems to look very alien in a GNOME
environment, and they're usually slower and using more memory then
similar programs written using PyGTK.

Johan



More information about the Python-3000 mailing list