get_cursor


Description:

public unowned Cursor? get_cursor ()

Retrieves a Cursor pointer for the cursor currently set on the specified Surface, or null.

If the return value is null then there is no custom cursor set on the specified surface, and it is using the cursor for its parent surface.

Parameters:

this

a Surface

Returns:

a Cursor, or null. The returned object is owned by the Surface and should not be unreferenced directly. Use set_cursor to unset the cursor of the surface