Hello all,<br><br>I have created a gtk.Layout and I have attached it in
a gtk.Table. What I want to do is to put a background image in it,
where the<br>widgets will be placed. How I can do this? I try the code
below that change the background image of the window, but this doesn't
work on<br>
the layout or the table. Can anybody help me on this?<br><br>Thank you in advance,<br>Thanasis<br><br>code:<br><br><p><font face="Courier, Monospaced">import gtk <br> imagename = 'image.jpg' <br>
</font></p><p><font face="Courier, Monospaced">win = gtk.Window() <br> pixbuf = gtk.gdk.pixbuf_new_from_file(imagename) <br> pixmap, mask = pixbuf.render_pixmap_and_mask() <br> width, height = pixmap.get_size() <br>
del pixbuf <br> win.set_app_paintable(gtk.TRUE) <br> win.resize(width, height) <br> win.realize() <br> win.window.set_back_pixmap(pixmap, gtk.FALSE) <br> del pixmap <br> </font></p><font face="Courier, Monospaced">win.show() </font>