Download project from http://thenerdshow.com/c/hasher.zip
GtkBuilder provides the glue to connect our xml interface to our C program. This is done using pseudo object-oriented functions in the form: gtk_some_widget_dosomething(GTK_SOME_WIDGET(widget)) which we could probably tuck into a macro somewhere, if we were smarter, something like #define DOIT(xx) gtk_some_widget_##xx(GTK_SOME_WIDGET(widget))
DOIT(show);
DOIT(set_text);
DOIT(make_toast);...
I guess when compiling on Windows, you need to precede callback functions with G_MODULE_EXPORT
Glade is a free and open source RAD tool for user interface design. It is distributed under the GNU General Public License (GPL).
Website: http://glade.gnome.org/