[pygtk] Window cursors

James Henstridge james@daa.com.au
Tue, 7 Nov 2000 08:43:11 +0800 (WST)


On Mon, 6 Nov 2000, Tessa Lau wrote:

> 
> Thanks for all the help with pixmaps; I got a solution that works and even
> looks reasonably good (though I'll have to try it on a slower machine and
> make sure it's still acceptable).
> 
> On to the next problem... I found gtk.cursor_new() and
> cursor_new_from_pixmap(), but no way to attach a cursor to a window using
> gdk_window_set_cursor().

You use the set_cursor() method of a GdkWindow object.

James.