-
- Glib::RefPtr<Gnome::Glade::Xml> ref;
- try {
- ref = Gnome::Glade::Xml::create("constructor.glade", "cistern_pty_wnd");
- }
- catch(const Gnome::Glade::XmlError &ex) {
- std::cerr << ex.what() << std::endl;
- }
- ref->get_widget_derived("cistern_pty_wnd",property_wnd);
+
+ Glib::RefPtr<Gnome::Glade::Xml> ref = Gnome::Glade::Xml::create("constructor.glade", "cistern_pty_wnd");
+ ref->get_widget_derived("cistern_pty_wnd",cistern_pty_wnd);
+ cistern_pty_wnd->cistern = this;
+ cistern_pty_wnd->set_title("Propiedades del Tanque");