Hey all,
I think I have a pretty simple question. I have a widget that has an
associated gtk.gdk.Window, and i would like to use the draw_pixbuf()
method on it to draw a permanent background. The problem is, my
background shows up for a split second using this code:
pxbuf = gtk.gdk.pixbuf_new_from_file('foo.bmp')
widget.window.draw_pixbuf(None, pxbuf, 0, 0, 100, 100)
but shortly after disappears...How do I get it to stick around?
Thanks,
Chris
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/