Hi, On Mi, 2003-11-12 at 22:21, Morten Heiberg wrote:
[setting background pixmaps] I'm not sure if I understood your problem correctly, but maybe this will help (replace gtk.Window with appropriate Widget class): iconsdir = './icons' imagename = 'image.png' win = gtk.Window() path = os.path.join(iconsdir, imagename) pixbuf = gtk.gdk.pixbuf_new_from_file(path) pixmap, mask = pixbuf.render_pixmap_and_mask() width, height = pixmap.get_size() del pixbuf win.set_app_paintable(gtk.TRUE) win.resize(width, height) win.realize() win.window.set_back_pixmap(pixmap, gtk.FALSE) del pixmap HTH, Igor _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/