Is there an interface designer for either to make my job a lot easier?
Is there an interface designer for either to make my job a lot easier?
For GTK+, you can use Glade to generate the XML file that pyGTK can parse to draw widgets. Don't know about pyQT.
#399784 | Ubuntu User #287
*** If you're going to program, install the damn build-essential package ***
There is no such thing as Ubuntu specific programming
Save the electrons - if you quote, trim!
For pyqt (or rubyqt) you can use QT designer.
but this doesn't allow me to take the design and then use it in my python code
How does having pyGTK read an XML file and draw the UI widgets not do what you want to do?
It's very easy to generate the UI in Glade and then use some simple commands to connect signals for the interactive widgets in the Python code. I've done it on this: http://aeronerd.wordpress.com/projec...oil-generator/ (no code available)
http://www.learningpython.com/2006/0...gtk-and-glade/
This article helped me out a lot.
#399784 | Ubuntu User #287
*** If you're going to program, install the damn build-essential package ***
There is no such thing as Ubuntu specific programming
Save the electrons - if you quote, trim!
Bookmarks