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