tags:

views:

344

answers:

3

I'd like to design a GUI using Glade, and generate python code from it. The thing is, I can't find GladeGen. Does anyone know where it can be downloaded from?

+2  A: 

Why not use the GUI designer is something like Anjuta or the Glade program, write that out to glade XML and use the python bindings for libglade to use the XML file ... Kind of like XAML.

Edit, added some links to Glade.xml->python

http://glc.sourceforge.net/
http://www.pygtk.org/ (might help)

Aiden Bell
That's exactly what I did. But I don't know how to generate the python code.
Geo
see edit :) ...
Aiden Bell
+1  A: 

Google is your friend.

http://www.linuxjournal.com/article/7558

tinjaw
A: 

My suggestion is - don't generate code. Glade 3.6 can now save in the GtkBuilder format (xml), which can be loaded in your code. This is much easier to deal with!

http://www.pygtk.org/pygtk2reference/class-gtkbuilder.html

Vadi