3 #include <libglademm.h>
7 int main (int argc, char **argv)
9 Gtk::Main client(argc, argv);
11 //Load the Glade file and instiate its widgets:
12 Glib::RefPtr<Gnome::Glade::Xml> refXml;
14 refXml = Gnome::Glade::Xml::create("client.glade");
16 catch(const Gnome::Glade::XmlError& ex) {
17 std::cerr << "(main.cpp:17) : ";
18 std::cerr << ex.what() << std::endl;
22 Principal* pWindow = 0;
24 refXml->get_widget_derived("Principal", pWindow);