To libglade or not to libglade



I've done one application using GTK+1.2 and then subsequently upgraded it to GTK+2.4.  In both tasks, I 
relied heavily on Glade and the source files output from Glade.  (i.e. I took the source files Glade built 
and integrated them into my own makefile structure.  

However, in trying to come up with a "standard" design process, potentially having to work with other people 
on a larger project.  I'm not exactly sure how best to generate a GUI using GTK.

In a previous project I used xforms which had a decent GUI builder program called fdesign.  Fdesign could be 
used as a command line application to convert form designer files to .c and .h files that created the form.  
Therefore, I could control the form designer file in RCS and just output the .c and .h files if anything 
changed (by special commands in my makefiles).  I was just responsible to ensure I had all the callback 
routines linked in properly.  I do not believe Glade can perform in this fashion since you have to manually 
tell it to generate the source files through the GUI.  

I've done a tiny bit of research on libglade but don't have the slightest clue how to work with it.  Would 
libglade allow me to source control the .glade xml file and not have to worry about the interface.[ch], 
callbacks.[ch], and support.[ch] files?  What would it take for an application that I currently have that 
depends on these files to use libglade? 

I suppose it's worth a shot but if anyone has any advice that would be helpful.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]