- Gtk::Window* pWindow = 0;
- MnuFileExit *mnu_file_exit = 0;
- Gtk::Button *bar_exit;
- refXml->get_widget("Principal", pWindow);
- refXml->get_widget_derived("mnu_file_exit", mnu_file_exit);
- refXml->get_widget("bar_exit", bar_exit);
- bar_exit->signal_clicked().connect( SigC::slot(Gtk::Main::quit) );
+ Principal* pWindow = 0;
+
+ refXml->get_widget_derived("Principal", pWindow);