I'm using pygtk 0.6.6  and gtk+ 1.2.8 (from Helixcode).

I need to be able to render a depiction of a widget to a pixmap so I can
use it as the icon for a drag operation.  It appears that I could use
gdk_image_get or perhaps gdk_window_copy to do this if I were using the
c interface.  However, these functions do not appear to be available
either through the ptk.py OO interface or even the _gtk c-like
interface.

Any help on this would be appreciated.  Additionally, my search for a
solution to this problem has suggested several other questions:

1) What is gtkmodule?  I have gtkmodule.so in my site-packages dir, but
if I attempt to import _gtkmodule I get 'ImportError: dynamic module
does not define init function (init_gtkmodule)'

2) drag_unset_source is not wrapped in gtk.py, though it is available
through _gtk.  Any particular reason?

Thanks in advance.
Jay


_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to