[pygtk] problem with tooltips in a gtk.layout with an image
Petsas Athanasios
petsas at csd.uoc.gr
Fri Jan 29 20:10:07 WST 2010
I found a way to have an image background in a gtk.layout, by putting an
image widget on it:
###
image_path = './images/grid.PNG'
image = gtk.Image()
image.set_from_file(image_
path)
hadj = self.layout.get_hadjustment()
vadj = self.layout.get_vadjustment()
self.layout.put(image, int(0+hadj.value), int(0+vadj.value))
image.child_focus(True)
image.show()
###
All looks fine, but the only problem is that the tooltips of the button
widgets
that I put on the layout now is not showed??
Does anyone know why? I think that the tooltips may hide behind the image..
Is there a way make the visible again?
Thank you in advance,
Thanasis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20100129/87725763/attachment.htm
More information about the pygtk
mailing list