PDA

View Full Version : Python GUI design



nocturn
March 9th, 2005, 12:44 PM
Hello all

Does anyone know a good place to start learning GUI design with Python? Or any good IDE's (I checked out Gazpatcho, but it is not very straight forward)?

I'm looking to pick this up fast to make cross-platform (Linux/Windows) apps instead of using VB for Windows only. I already know perl, but I've mostly done webapps in the past...

Thanks

Quest-Master
March 9th, 2005, 11:59 PM
Use the wxPython toolkit, and use the wxGlade to design your fancy GUIs.

Find it all at http://www.wxpython.org. You can apt-get for it, btw.

sudo apt-cache search wxpython

psychic
March 13th, 2005, 01:47 PM
Here ya go :D


http://higgs.djpig.de/ubuntu/www/hoary/python/python-qt3 pyqt
http://higgs.djpig.de/ubuntu/www/hoary/python/python-qt-dev pyqt
http://higgs.djpig.de/ubuntu/www/hoary/python/python-gtk2 pygtk
http://higgs.djpig.de/ubuntu/www/hoary/python/python-gtk2-dev pygtk
http://higgs.djpig.de/ubuntu/www/hoary/python/python-tk py-tk


More than just one lib, to suit your needs 8-)

DirtDawg
March 15th, 2005, 10:26 AM
There's also Python Card, though I can't say I've tried it.
http://pythoncard.sourceforge.net/

jdong
March 16th, 2005, 01:52 AM
I personally recommend using WxPython... It's a nice toolkit that is very cross-platform and adaptable. It's well worth the time to learn!

lee_connell
March 16th, 2005, 04:03 AM
Does wxPython using the GTK2 widget style yet? otherwise it's too ugly!!!!!

elwis
March 17th, 2005, 07:51 PM
Aha!

I started to play around in PyGTK, I'm a GNOME guy. But actually, now my plan was to get out of the boring job (which is deveolping business applications on that "other OS") and write a small system for small customers. So, I thought, maybe some of these will refuse to use a better, brown desktop OS and wants to stick with the playbox from Redmond for yet another year.

Let's face it .. GTK didn't look too good on windoze last time I tried.. so wxWidgets started to bubble around in my brain. i downloaded, I looked att the documentation that didn't exist (that wiki isn't too good if you ask me) but still managed to get some apps going. But yeeeiiak - it really looks terrible on my Gnome 2 desk!? It looks a lot more native with the XP-stylish manifest on the other OS.

So.. now what.. go GTK and demand everyone to run the Hedgehog or.. try to ignore the ugly GTK look of WxWidgets?
*sigh*...

elwis
March 18th, 2005, 08:05 AM
Now I start to wonder? The WxPython guys tells med it looks ugly cause I'm not using wxGTK2 package? I better call in sick and run home to check that out.

HungSquirrel
March 18th, 2005, 09:16 AM
Let's face it .. GTK didn't look too good on windoze last time I tried..
One wonders when you last tried. I use Gaim and The GIMP's latest GTK2-Win32 builds and I think they blend in fairly well with the Windows environment when using the Wimp theme.

elwis
March 18th, 2005, 11:32 AM
One wonders again (we are really wondering a lot in this thread ;) )
"Wimp" theme?

I'm running Dia on my winmachine, and of course the Gimp and I wouldn't say they look "Xp-ish" in their style? Maybe there's something I don't know..... *errrhmm - okay, there's actually A LOT that I don't know*

elwis
March 18th, 2005, 11:33 AM
Use the wxPython toolkit, and use the wxGlade to design your fancy GUIs.

Find it all at http://www.wxpython.org. You can apt-get for it, btw.

sudo apt-cache search wxpython

Actually, I never found any wxGlade when apt-getting like a madman yesterday :(

lee_connell
March 19th, 2005, 11:53 PM
Now I start to wonder? The WxPython guys tells med it looks ugly cause I'm not using wxGTK2 package? I better call in sick and run home to check that out.


so how did it turn out with your testing? when i use wxpython 2.x and run something like boa or audacity its ugly.

Quest-Master
March 22nd, 2005, 03:03 AM
Hoary's wxPython uses GTK2, and wxPython is in the repos. but not wxGlade (yet?).

So, just hang tight for Hoary final or upgrade now. :)

I prefer wxPython so much more over something like PyGTK. There is a lot less to code and it's a bit cleaner as well.