imgActual = 0;
image = imageN;
set_size_request(image->get_width(), image->get_height());
-
- Glib::RefPtr<Gnome::Glade::Xml> ref;
- try {
- ref = Gnome::Glade::Xml::create("constructor.glade", "conduct_pty_wnd");
- }
- catch(const Gnome::Glade::XmlError &ex) {
- std::cerr << ex.what() << std::endl;
- }
- ref->get_widget_derived("conduct_pty_wnd",property_wnd);
+ property_wnd->set_title("Propiedades del Tubo");
}
Conduct::~Conduct()
}
if ((event->type == GDK_2BUTTON_PRESS) && (event->button ==1)){
- property_wnd->show();
+ property_wnd->spin_caudal->set_value( caudal_max );
+ property_wnd->txt_item_name->set_text (name);
+ property_wnd->show();
}
return true;
}