newbie question on which win32 GUI to choose

R

Rain

Hi,

I do not want to lead a war on this topic, as there have been many
arguments in Slashdot.

Obviously, QT is best by now if not consider the license.
Then after google some, I found people tend to use wxPython and pyGTK.

Now I want to narrow topic and ask this question:
Which one have a little more clear logic and easy to learn and use?
Not considering the local platform and feeling, and the deployment.I
know pyGTK need GTK runtime libs.
 
C

Cameron Laird

Hi,

I do not want to lead a war on this topic, as there have been many
arguments in Slashdot.

Obviously, QT is best by now if not consider the license.
Then after google some, I found people tend to use wxPython and pyGTK.

Now I want to narrow topic and ask this question:
Which one have a little more clear logic and easy to learn and use?
Not considering the local platform and feeling, and the deployment.I
know pyGTK need GTK runtime libs.
.
.
.
I appreciate that you want signal, not noise, and
that you're after a better experience than with
Slashdot. I strongly urge you to consider that
pertinent context you provide will go a looooong
way toward improving the quality of the answers
you receive. When you write, "Obviously, QT is
best ...", I get the feeling there's considerable
background you're not telling us.

Even in the absence of better knowledge of your
constraints and requirements, I recommend you
evaluate the native Win32 GUI toolkit. Python
is an excellent way to access MFC.

If you are asking just for a comparison of wxPython
and pyGTK under Win* (*is* that your question? I
have re-read it several times, and I'm still
unsure), all my experience inclines me to the
former. I've found pyGTK too immature under Win*.
The people who claim success with it are, from
what I can tell, those who benefit from consider-
able prior GTK+ work.
 
J

John Hunter

Cameron> experience inclines me to the former. I've found pyGTK
Cameron> too immature under Win*. The people who claim success
Cameron> with it are, from what I can tell, those who benefit from
Cameron> consider- able prior GTK+ work. --

I haven't found this. I've written two applications in pygtk2 and one
plotting library that run with no alterations on linux and win32, and
I had no prior GTK+ experience, or any GUI experience for that matter.

As for immaturity, the gimp runs under windows, and I *think* pygtk
can do just about anything gtk can do, hence it's a pretty
sophisticated toolkit under windows. What aspects do you find
immature?

And glade-2 is a nice RAD tool that runs under linux and win32.

Here are a couple of screenshots of a pygtk app using VTK that runs on
win32 and linux

http://nitace.bsd.uchicago.edu:8080/summer/jdh/image_reader.png
http://nitace.bsd.uchicago.edu:8080/summer/jdh/loc3djr_shot3.png

John Hunter
 
A

achrist

John said:
Cameron> experience inclines me to the former. I've found pyGTK
Cameron> too immature under Win*. The people who claim success
Cameron> with it are, from what I can tell, those who benefit from
Cameron> consider- able prior GTK+ work. --

I haven't found this. I've written two applications in pygtk2 ...


Are there any downloadable pygtk2 apps that are a good demo, ie
non-esoteric showoff apps that I can download and run under Windows
to see how it runs on my machine?


Al
 
J

Jamey Cribbs

Are there any downloadable pygtk2 apps that are a good demo, ie
non-esoteric showoff apps that I can download and run under Windows
to see how it runs on my machine?


Al

If you go to http://www.netpromi.com/mojoview.html, you will see some
screenshots from an app I wrote using PyGTK 2. I took the screenshots
while running it under Windows. You can download the app and run it
yourself by clicking on the link on the page. I, too, have enjoyed good
luck developing PyGTK2 apps under Windows. It has been very stable and
responsive for me.

Jamey Cribbs
 
D

David M. Cook

Now I want to narrow topic and ask this question:
Which one have a little more clear logic and easy to learn and use?
Not considering the local platform and feeling, and the deployment.I
know pyGTK need GTK runtime libs.

Unless running on win32 is of secondary importance, I don't think Gtk would
is a good choice until some of the Gtk/win32 bugs and other issues are
worked out.

Dave Cook
 
D

David M. Cook

John Hunter said:
Cameron> experience inclines me to the former. I've found pyGTK
Cameron> too immature under Win*. The people who claim success
Cameron> with it are, from what I can tell, those who benefit from
Cameron> consider- able prior GTK+ work. --
I haven't found this. I've written two applications in pygtk2 and one
plotting library that run with no alterations on linux and win32, and
I had no prior GTK+ experience, or any GUI experience for that matter.

As for immaturity, the gimp runs under windows, and I *think* pygtk
can do just about anything gtk can do, hence it's a pretty
sophisticated toolkit under windows. What aspects do you find
immature?

I have to concur with Cameron on the immaturity of Gtk under win32. I've
run into at least one severe bug that affects my application only on win32:

http://bugzilla.gnome.org/show_bug.cgi?id=118575

Another thing I've noticed is that the "window expander" handle (not sure
what it's actually called) in the Gtk status bar doesn't work on win32.

And Gtk just seems slower and less responsive on win32 (particularly on
win98).

Also, there is only one guy covering win32 bugs, so they don't get fixed
very quickly.

I suppose if you don't push it very hard then it may be OK.
And glade-2 is a nice RAD tool that runs under linux and win32.

I love glade and would not want to do without it, but it's funky and buggy.
For example there's a maddening bug that causes any objects you've set for
signals for menuitems to be lost if you do *any* editing of the menu; also
for no reason that I can fathom glade will not let you add accelerators for
some menu items. These are old bugs, but unfortunately it doesn't seem like
there's anyone doing active maintenance on the stable branch (the main
developer left.)

That said, the first thing I do when evaluating a new toolkit is look to see
if it has anything roughly equivalent to glade/libglade.

Dave Cook
 
A

achrist

Jamey said:
If you go to http://www.netpromi.com/mojoview.html, you will see some
screenshots from an app I wrote using PyGTK 2. I took the screenshots
while running it under Windows. You can download the app and run it
yourself by clicking on the link on the page. I, too, have enjoyed good
luck developing PyGTK2 apps under Windows. It has been very stable and
responsive for me.


Some people have good luck. I don't. I downloded this app and tried
to run one of the samples, and I got a crash on account of the
unexplained absence of python20.dll from my system.

Anyone else have any downloadable easy-to-run pygtk2 apps that run
on Windows and show off features and advantages of Gtk?


Al
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top