Creates a new cursor from one of the predefined cursor types.
You can find an example at set_cursor() .