[pygtk] Paint widget to pixbuf
Thomas Dybdahl Ahle
lobais at gmail.com
Sat Oct 6 08:32:44 WST 2007
Hi, I've been looking for a way to paint a Button on a Pixmap.
In c-gtk I've seen it done like this:
gdk_draw_drawable (window, widget->style->black_gc,
GTK_PROGRESS (pbar)->offscreen_pixmap,
0,0,0,0,-1,-1);
But I haven't been able to find the offscreen_pixmap attribute on any
widgets, Buttons nor Progressbars.
Can any of you help me on how this is done in pygtk?
--
Med venlig hilsen,
Best regards,
Thomas
More information about the pygtk
mailing list