On Sun, Mar 11, 2001 at 02:14:29AM -0800, C.S. Xu wrote:

I haven't seen any replies yet, so I will.

| I recently learned a little bit of wxPython and pyGtk,
| (I like Python very much ever since I started to learn
| it half a year ago.) pyGtk's starting time and memeory
| usages both are half of wxPython's, at least on my
| computer.

This is because GTK is a stand alone toolkit.  wxWindows is a wrapper
around the native tookit (MSW, GTK, etc) which adds overhead to it.
wxPython is then a wrapper around wxWindows (just as PyGTK is a
wrapper around GTK).

| But can Gtk run well on windows ? (a newbie's
| question,
| but I haven't found any answer on internet.) and can
| pyGtk provide wxPython's funtionalities shown in their
| demo ?

GTK runs pretty well on windows (see www.gimp.org/win32).  The gimp
uses it, and it was the reason Tor began porting GTK.  The gimp runs
quite well.  I don't know whether the gimp or gtk is the cause of most
of the gimp's crashes.  Search on google for Hans Breuer.  He has
windows ports of a number of useful apps, some of them python related,
on his web site.

| I'm just curious about which Python GUI I should learn, or should
| learn first.

Learn both of them.  It is good to have experience with more than one
toolkit.  I used GTK (the C++ bindings, gtk--) for a large project at
school.  I used glade to generate the bulk of the gui code (~3100 loc
while the rest of the project wsa ~3000 loc).  I like GTK a lot, both
in L&F and in how easy it is to use.  (For example, I can never get
panels to look right using Swing's layout managers)  

I have taken a look at wxPython, but I haven't used it for anything
yet so I can't really comment on how nice it is from a programmer's
perspective.  The demo does look really nice though.

HTH,
-D

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to