How can I change the cursor image in python soya?
Soya is a 3D game framework for python.
How can I change the cursor image to/from a d开发者_运维知识库ifferent image?
Not sure but,
dir() function is your friend. Use it see what methods and attributes are available for "Cursor" class.
From the look of it, it doesn't have one. How ever the parent class allows you to set a shape.
- http://home.gna.org/soya/soya.cursor.html
This class is derived from soya.Volume
- http://home.gna.org/soya/soya.html#Volume
It seems to have a function called set_shape.
精彩评论