refGlade->get_widget("btn_cancel", btn_cancel);
refGlade->get_widget("btn_apply", btn_apply);
refGlade->get_widget("btn_accept", btn_accept);
+ Glib::RefPtr<Gnome::Glade::Xml> ref = Gnome::Glade::Xml::create(PACKAGE_DATA_DIR"/plaqui-constructor/dialogs/constructor.glade", "dlg_name");
+ ref->get_widget("dlg_name", dlg_name);
+ ref->get_widget("btn_dlg_ok", btn_dlg_ok);
btn_cancel->signal_clicked().connect(SigC::slot(*this, &PropertyWnd::on_btn_cancel_clicked));
btn_accept->signal_clicked().connect(SigC::slot(*this, &PropertyWnd::on_btn_accept_clicked));
btn_apply->signal_clicked().connect(SigC::slot(*this, &PropertyWnd::on_btn_apply_clicked));
+ btn_dlg_ok->signal_clicked().connect(SigC::slot(*this, &PropertyWnd::on_btn_dlg_name_clicked));
}
PropertyWnd::~PropertyWnd()
void PropertyWnd::on_btn_apply_clicked()
{
}
+
+void PropertyWnd::on_btn_dlg_name_clicked()
+{
+ dlg_name->hide();
+}