How do I use the Glade GUI builder with GTK+? [GTK 2.x]

There are two ways to use Glade. The first way is to use Glade's facilities for generating code; the second way is to use the libglade library which directly loads the XML user interface description files that Glade generates into a running program.

Experienced GTK+ programmers generally strongly recommend using libglade; you don't have to worry about the interaction between Glade generating the source and you editing it, and its been shown to be a method that works better for large projects, so there is a lot of example code out there you can look at.

An introduction to using libglade can be found in the libglade API docs ( .