+
+void Ventana::on_btn_dibujar_released()
+{
+ //quiero dibujar en el fixed
+ // como lo obtengo??
+ Glib::RefPtr<Gdk::Window> win = get_window();
+ Glib::RefPtr<Gdk::GC> gc = get_style()->get_black_gc();
+ win->draw_line(gc,50,50, 50,100);
+ win->draw_line(gc,50,50, 80, 100);
+ win->draw_line (gc,80,100, 80,50);
+
+ win->draw_line (gc,90,50, 90,100);
+
+ win->draw_line (gc,100,50, 100,100);
+ win->draw_line (gc,100,50, 150,50);
+ win->draw_line (gc,100,100,150,100);
+
+ win->draw_line (gc,160,50, 160,100);
+ win->draw_line (gc,160,50, 210,50);
+ win->draw_line (gc,160,100, 210,100);
+ win->draw_line (gc,210,50, 210,100);
+}