tags:

views:

46

answers:

1

I am new in the field of gtk+ programming. I'm still exploring many options to use. I will be coding in C language. I have the following questions:

  1. Which is better? Writing code or using the .glade files generated by glade?
  2. Which is better to use? libglade or gtkbuilder?
  3. Why is using the build option in glade2 discouraged?
+3  A: 
  1. Choose whichever is more convenient for your particular need. Usually people use a Libglade/GtkBuilder file for non-trivial UI (less messy to create and maintain).
  2. GtkBuilder is the new, preferred way to do it, and it's part of GTK+. You should only use Libglade if you need to support legacy systems.
  3. "This allows more flexibility with the developer, prevents having to re-compile applications when a minor interface change is needed, and allows more programming languages to be used with Glade."
Johannes Sasongko
I wondered wether glade or gtkbuilder was obsolete, thank you for clearing that point +1
penguinpower
hey...thnx for the reply...
linuxnewbie