qt or gtk?

D-Man dsh8290 at rit.edu
Sat Jun 16 17:33:32 EDT 2001


On Sat, Jun 16, 2001 at 05:52:12AM +0000, Rainy wrote:
| 
| I want to learn python gui programming in linux. I think tk looks too ugly, so
| I narrowed down the choice to two main contenders, qt and gtk. Which of these
| has more complete and up-to-date python bindings? Are there other reasons
| to prefer one of these over another for python gui work?

Personally I like GTK better.  I don't like the way Qt tries to look
like MS Windows.  Glade+libglade make a great combination for rapid
coding.  Use glade (a gui) to build the static parts of the interface,
then load them at runtime with libglade.  You simply write the event
handlers and connect them to the events in your code.  You can
completely change the look of the UI without changing any code as long
as the names of widgets and their type match (ie you don't change from
a tree to a list).

wxWindows and wxPython look nice, though I haven't worked with them
enough to know if I like the style of the interface.

-D




More information about the Python-list mailing list