You may create a cairo context from a Gdk::Pixmap in the configure event:
cairo_context = pixmap->create_cairo_context();
Then you could draw everything on the pixmap and
do something like this in the expose event handler :
get_window()->draw_drawable
(
get_style()->get_fg_gc(get_state()),
pixmap,
event->area.x, event->area.y,
event->area.x, event->area.y,
event->area.width, event->area.height
);
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list