[pygtk] click on image

Gian Mario Tagliaretti g.tagliaretti at gmail.com
Tue Oct 31 22:41:42 WST 2006


2006/10/31, Pascal DUCHATELLE <pduchatelle a yahoo.fr>:

> I wish to be able to get the coordinates of the point on which I click in an
> image (actually pdf plots converted to png format).

Hi Pascal,

gtk.Image does not have it's own gtk.gdk.window so it cannot receive
events, try to put the image into an eventbox and connect there.

ciao
-- 
Gian Mario Tagliaretti
http://www.parafernalia.org/pygtk/


More information about the pygtk mailing list