[Sugar-devel] how to use sugar cursors not in gdk cursor?

Sascha Silbe sascha-ml-reply-to-2010-3 at silbe.org
Wed Nov 24 08:29:33 EST 2010


Excerpts from Erik Blankinship's message of Sun Nov 21 04:52:46 +0100 2010:

[Cursor hand_open from sugar-artwork]
> How do I use that sugar cursor in a python activity?

Try:

gtk.gdk.cursor_new_from_name(gtk.gdk.display_get_default(), 'hand_open')

Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20101124/24b07e5a/attachment.pgp>


More information about the Sugar-devel mailing list