[pygtk] Multi gtk.EventBox and gtk.Image cause artefacts

MATTHIEU CADET maty974 at hotmail.com
Fri Jan 23 18:37:54 WST 2009

I've found a solution to remove those artefacts, but the solution is to 
don't use gtk.EventBox and just use gtk.Image... 

But for the moment its not very good for me because i need to keep
the image as "clickable" so i can get informations of wich image is 

Any help for this please?



From: maty974 at hotmail.com
To: pygtk at daa.com.au
Date: Tue, 20 Jan 2009 19:54:44 +0900
Subject: [pygtk]  Multi gtk.EventBox and gtk.Image  cause artefacts

Hi everybody!

I'm trying to write a tool in PyGtk that shows user lot of images in a Window,
each images must be "clickable", so i've put all of them into a gtk.EventBox.

The problem now for me is, when the number of images is more than about 45
EventBox shown in the main Window, i got some strange artefacts near to the
last image has been show.

How can i fix those artefacts from EventBox ? and keep my images clickable ?

Here the link to my code;glade and image :


Please if someone can help me on this.

Thanks a lot.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20090123/6f020233/attachment.htm 

More information about the pygtk mailing list