<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br>Hi,<br><br>I've try to replace gtkEventBox with a gtkButton, but it's the <br>same problem...<br>At a certain number of button are showed the button is not<br>clickable :(<br><br>Maybe it's another problem with the main Window or may i need<br>to refresh; redraw or something like that ?<br><br>Or maybe it's not possible with gtk to show lot of gtkEventBox,<br>there is a limit on the EventBox ? or something related to the <br>Window ?<br><br><br><br><hr id="stopSpelling">From: maty974@hotmail.com<br>To: pygtk@butterflystitches.com.au<br>Date: Sat, 24 Jan 2009 19:16:17 +0900<br>CC: pygtk@daa.com.au<br>Subject: Re: [pygtk] Multi gtk.EventBox and gtk.Image  cause artefacts<br><br>



<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>


Hi,<br><br>No i haven't try this solution, but i don't want my image looks like<br>a button, with the style of button you know rounded, and when you<br>see the image as a button.<br>Or maybe i can set a button style to "none" ? without the looks of <br>a button.<br><br>I will try this, thanks for your answer.<br><br>Maty.<br><br><br><br>&gt; Date: Sat, 24 Jan 2009 13:48:42 +1100<br>&gt; From: pygtk@butterflystitches.com.au<br>&gt; To: maty974@hotmail.com<br>&gt; CC: pygtk@daa.com.au<br>&gt; Subject: Re: [pygtk] Multi gtk.EventBox and gtk.Image  cause artefacts<br>&gt; <br>&gt; MATTHIEU CADET wrote:<br>&gt; &gt; I've found a solution to remove those artefacts, but the solution is to <br>&gt; &gt; don't use gtk.EventBox and just use gtk.Image... <br>&gt; &gt; <br>&gt; &gt; But for the moment its not very good for me because i need to keep<br>&gt; &gt; the image as "clickable" so i can get informations of wich image is <br>&gt; &gt; clicked.<br>&gt; &gt; <br>&gt; &gt; Any help for this please?<br>&gt; &gt; <br>&gt; &gt; Thanks.<br>&gt; &gt; <br>&gt; &gt; Maty.<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; From: maty974@hotmail.com<br>&gt; &gt; To: pygtk@daa.com.au<br>&gt; &gt; Date: Tue, 20 Jan 2009 19:54:44 +0900<br>&gt; &gt; Subject: [pygtk]  Multi gtk.EventBox and gtk.Image  cause artefacts<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; Hi everybody!<br>&gt; &gt; <br>&gt; &gt; I'm trying to write a tool in PyGtk that shows user lot of images in a Window,<br>&gt; &gt; each images must be "clickable", so i've put all of them into a gtk.EventBox.<br>&gt; &gt; <br>&gt; &gt; The problem now for me is, when the number of images is more than about 45<br>&gt; &gt; EventBox shown in the main Window, i got some strange artefacts near to the<br>&gt; &gt; last image has been show.<br>&gt; &gt; <br>&gt; &gt; How can i fix those artefacts from EventBox ? and keep my images clickable ?<br>&gt; &gt; <br>&gt; &gt; Here the link to my code;glade and image :<br>&gt; &gt; <br>&gt; &gt; http://www.filefactory.com/file/a02c6df/n/multi_eventbox_example_zip<br>&gt; &gt; <br>&gt; &gt; Please if someone can help me on this.<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; Thanks a lot.<br>&gt; &gt; <br>&gt; &gt; Maty.<br>&gt; &gt; <br>&gt; Have you tried making each image a button with the image inside the <br>&gt; button?<br>&gt; <br>&gt; <br>&gt; <br></body>
</html>