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
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/