From Dov Grobgeld

a major rewrite (using gob2 actually) where the image annotation model has been changed so that the image is provided to the user of the widget before it is drawn to the screen.

gtkimageviewer tutorial