[pygtk] Multi gtk.EventBox and gtk.Image cause artefacts
MATTHIEU CADET
maty974 at hotmail.com
Sat Jan 24 19:16:17 WST 2009
Hi,
No i haven't try this solution, but i don't want my image looks like
a button, with the style of button you know rounded, and when you
see the image as a button.
Or maybe i can set a button style to "none" ? without the looks of
a button.
I will try this, thanks for your answer.
Maty.
> Date: Sat, 24 Jan 2009 13:48:42 +1100
> From: pygtk at butterflystitches.com.au
> To: maty974 at hotmail.com
> CC: pygtk at daa.com.au
> Subject: Re: [pygtk] Multi gtk.EventBox and gtk.Image cause artefacts
>
> 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: 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 :
> >
> > 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?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20090124/8dea18a6/attachment.htm
More information about the pygtk
mailing list