Glade has become a relatively popular tool for developing user interfaces for GTK+. The cool thing about Glade is the fact that it generates the interface in an XML dialect that can be imported by several programming languages, including C/C++, Python, Mono and Ruby among others.

A programmer can design an interface in Glade, and specify signals (events) for each of the components in the graphical user interface. Using tools like ‘ruby-glade-create-template’, one can have the method signatures generated automatically, then just fill in the blanks and end up with pretty nifty applications. Pretty neat, huh?

The problem? Finding the necessary information to get started.

In this tutorial we will use Ruby and Glade in order to generate a simple, but graphical, ‘Hello World!’ program. I’m assuming you have Glade 3 installed on your system and all the necessary libraries (libglade, et al).

Read the rest of this entry »