You are not logged in.
Pages: 1
Hi All,
I'm looking to improve / learn more on gui programming within python.
I'm not sure if i should be writing the code manualy or using the libglade / glade designer to produce results.
My main aim with most of my programming is to keep things slim. i use openbox so i don't want to pull in loads of gnome crap to make something work.
How do you guys go about it etc?
Regards
Matthew
"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson
Offline
My main aim with most of my programming is to keep things slim.
'Slim', 'good' and 'expensive' are relative. If you're starting w/ python and not bash + Xdialog than why not go all the way and automate most of you job w/ glade etc.? Find a project you like that uses python for GUI programming and ask them how they do it.
Offline
wxpython, not so slim but portable
Offline
I started with PyQt, it was very good.
Offline
PyGTK is used by quite a lot of projects, haven't looked into it yet though.
Offline
I guess your options are pyQt, pyGtk, Tkinter (included with python), and wxPython.
I've been playing around with wxpython for a little while now and I quite like it. I really enjoy that it is fairly cross platform (without requiring gtk, qt, or tk/tcl on Windows or Mac) and the wxpython demo program is just fantastic.
IIRC, the demo isn't packaged with wxpython in Arch, but you can download it separately and extract it to a folder in your home directory with no problems.
Offline
+1 for wxPython
Offline
I'm having fun making a few simple things in Glade 3 and PyGTK. Maybe Glade isn't how you want to fly, but it's worth a try.
Offline
I use glade and pyGTK too.
< Daenyth> tomkx: my girlfriend is linux
< Daenyth> srsly
< Daenyth> she loves the way I «make install»
< Daenyth> all her /dev entries are mode 7 for me
Offline
I tend to use glade / designer when I have to make a GUI that is more or less static, there is no point in creating the whole gui by handcoding it, other then for getting to know the toolkit of course. If however the gui is very dynamic, i.e. changes a lot based on the user interaction I code all the gui relating things by hand.
Offline
I've been looking at the Glade designer. It looks okay still getting used to it.
Thanks for your feedback
"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson
Offline
Pages: 1