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