3 #ifndef GTKMM_EXAMPLE_DRAWINGAREALINES_H
4 #define GTKMM_EXAMPLE_DRAWINGAREALINES_H
6 #include <gtkmm/drawingarea.h>
9 //Custom drawing area with modified expose_event.
10 class CItem:public Gtk::DrawingArea {
12 CItem(const char *filename);
14 virtual bool on_expose_event(GdkEventExpose* event);
15 Glib::RefPtr<Gdk::Pixbuf> get_image() { return image; }
17 Glib::RefPtr<Gdk::Pixbuf> image;
20 #endif //GTKMM_EXAMPLE_DRAWINGAREALINES_H