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 {
13 CItem(const char *filename);
15 virtual bool on_expose_event(GdkEventExpose* event);
16 Glib::RefPtr<Gdk::Pixbuf> get_image() { return image; }
18 Glib::RefPtr<Gdk::Pixbuf> image;
21 #endif //GTKMM_EXAMPLE_DRAWINGAREALINES_H