]> git.llucax.com Git - z.facultad/75.42/plaqui.git/commitdiff
compilo y anduvosvn up! groso
authorNicolás Dimov <ndimov@gmail.com>
Fri, 17 Oct 2003 04:13:11 +0000 (04:13 +0000)
committerNicolás Dimov <ndimov@gmail.com>
Fri, 17 Oct 2003 04:13:11 +0000 (04:13 +0000)
Constructor/ventana
Constructor/ventana.cpp
Constructor/ventana.h

index 6116fa321a0500b21391b4d70eac2b5999cedf45..26e093506c22c57d8040f60e55156d9685babb18 100755 (executable)
Binary files a/Constructor/ventana and b/Constructor/ventana differ
index d175fc938f7e04362e222204537dae497ccb1300..24dfe61f92578c6d56c65aa15baddcb3367a9134 100644 (file)
@@ -3,7 +3,8 @@
 Ventana::Ventana(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& refGlade):
 Gtk::Window(cobject) 
 {
 Ventana::Ventana(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& refGlade):
 Gtk::Window(cobject) 
 {
-       btn_salir.signal_released().connect(SigC::slot(*this,&Ventana::on_btn_salir_pressed ));
+       refGlade->get_widget("button9", btn_salir);
+       btn_salir->signal_released().connect(SigC::slot(*this,&Ventana::on_btn_salir_pressed ));
 }
 
 Ventana::~Ventana()
 }
 
 Ventana::~Ventana()
index 8c47dd930b464852fc7d25dae8e4f314bc8b088b..8151ce195dac4990863b6c38803b52ce45569d01 100644 (file)
@@ -11,7 +11,7 @@ class Ventana: public Gtk::Window
                        Ventana(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& refGlade);
                        virtual ~Ventana();
        protected:
                        Ventana(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& refGlade);
                        virtual ~Ventana();
        protected:
-                       Gtk::Button btn_salir;
+                       Gtk::Button* btn_salir;
                        virtual void on_btn_salir_pressed();
        
 };
                        virtual void on_btn_salir_pressed();
        
 };