#include <gtkmm.h>
#include <libglademm.h>
#include <glade/glade-xml.h>

using namespace Gnome::Glade;


int main(int argc, char** argv) {
  Gtk::Main kit(argc, argv);

  GladeXML* xml = glade_xml_new("test.glade", 0, 0);
  GtkWidget* widget = glade_xml_get_widget(xml, "window1");
  gtk_widget_show(widget);

  kit.run(*(Glib::wrap(GTK_WINDOW(widget))));

  return 0;
}
