3 #include <libglademm.h>
6 int main (int argc, char **argv)
8 Gtk::Main client(argc, argv);
10 //Load the Glade file and instiate its widgets:
11 Glib::RefPtr<Gnome::Glade::Xml> refXml;
13 refXml = Gnome::Glade::Xml::create("client.glade", "Principal");
15 catch(const Gnome::Glade::XmlError& ex) {
16 std::cerr << ex.what() << std::endl;
20 Gtk::Window* pWindow = 0;
21 refXml->get_widget("Principal", pWindow);