MATTHIEU CADET wrote:
> 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 
> clicked.
> 
> Any help for this please?
> 
> Thanks.
> 
> Maty.
> 
> 
> 
> From: maty...@hotmail.com
> To: pygtk@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 :
> 
> http://www.filefactory.com/file/a02c6df/n/multi_eventbox_example_zip
> 
> Please if someone can help me on this.
> 
> 
> Thanks a lot.
> 
> Maty.
> 
Have you tried making each image a button with the image inside the 
button?



_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to