1 #ifndef GTKMM_EXAMPLE_DRAWINGAREALINES_H
2 #define GTKMM_EXAMPLE_DRAWINGAREALINES_H
5 #include <gtkmm/drawingarea.h>
6 #include <gtkmm/spinbutton.h>
7 #include <gtkmm/stock.h>
10 #include <libglademm.h>
11 #include "propertywnd.h"
14 class CItem:public Gtk::DrawingArea {
17 CItem(const char *filename);
19 virtual bool on_expose_event(GdkEventExpose* event);
20 virtual void on_menu_popup_propiedades();
21 virtual void on_menu_popup_rotar();
22 virtual void on_menu_popup_eliminar();
23 Glib::RefPtr<Gdk::Pixbuf> get_image() { return image; }
26 Gtk::Image menu_image_delete, menu_image_rotar, menu_image_propiedades;
27 Glib::RefPtr<Gdk::Pixbuf> image;
28 PropertyWnd *property_wnd;