#define GTKMM_EXAMPLE_DRAWINGAREALINES_H
#include <gtkmm/drawingarea.h>
+#include <gtkmm/stock.h>
+#include <gtkmm.h>
#include <gdkmm.h>
-//Custom drawing area with modified expose_event.
class CItem:public Gtk::DrawingArea {
public:
CItem();
CItem(const char *filename);
~CItem();
virtual bool on_expose_event(GdkEventExpose* event);
+ virtual void on_menu_popup_opcion();
+ virtual void on_menu_popup_rotar();
+ virtual void on_menu_popup_eliminar();
Glib::RefPtr<Gdk::Pixbuf> get_image() { return image; }
protected:
+ Gtk::Menu menu_popup;
+ Gtk::Image menu_image;
Glib::RefPtr<Gdk::Pixbuf> image;
};
-#endif //GTKMM_EXAMPLE_DRAWINGAREALINES_H
+#endif