3 #ifndef GTKMM_EXAMPLE_DRAWINGAREALINES_H
4 #define GTKMM_EXAMPLE_DRAWINGAREALINES_H
7 #include <gtkmm/drawingarea.h>
8 #include <gtkmm/stock.h>
11 #include <libglademm.h>
12 #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;
27 Glib::RefPtr<Gdk::Pixbuf> image;
28 PropertyWnd *property_wnd;