[pygtk] missing background image
vibeesh p
pvibeesh at gmail.com
Mon Jan 8 19:17:06 WST 2007
My problem is
the code below is used to set the background of the window ,it works well
but
when i am trying to open a dialog box such as filechooserdialog the
background disappears
pixbuf =3D gtk.gdk.pixbuf_new_from_file ('mainframe.jpg')
pixmap, mask =3D pixbuf.render_pixmap_and_mask()
width, height =3D self.pixmap.get_size()
del pixbuf
window.set_app_paintable(True)
window.resize (width, height)
window.realize()
window.window.set_back_pixmap(pixmap, False)
del pixmap
Please help me
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20070108/2ff83c10/at=
tachment.htm
More information about the pygtk
mailing list