Working With libglade Instead of generating source code, one may use libglade to parse the XML file during program runtime, and generate the windows this way. The advantage is that glade touches only its XML file, and not messing with your source code. The disadvantage is that you cannot pass parameters to signal callbacks generated via Glade, and if you wish to, you need to attach these callbacks inside your source code (with gtk_signal_connect() ).