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 = gtk.gdk.pixbuf_new_from_file ('mainframe.jpg')
       pixmap, mask = pixbuf.render_pixmap_and_mask()
       width, height = 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
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to