[pygtk] Drawing over a scrolled image

Fabrice DELENTE delentef at gmail.com
Sun Sep 13 23:29:49 WST 2009


Hello.

I'm trying to draw over a scrolled image; my image is loaded as a gtk.image
in a scrolled window in which I added a viewport; this works ok.

As I need to draw over this image, I tried to add a gtk.DrawingArea to the
gtk.Image, but as gtk.Image is not a container it can't work...

Is there a way to manage this with a scrolled window and a viewport? Or do I
have to implement the scrolling myself with an hscrollbar and a vscrollbar?

Thanks!

-- 
Fabrice DELENTE


More information about the pygtk mailing list