Surface.getCursor

gdk.cursor.Cursor getCursor()

Retrieves a [gdk.cursor.Cursor] pointer for the cursor currently set on the [gdk.surface.Surface].

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

Use [gdk.surface.Surface.setCursor] to unset the cursor of the surface.

Returns

a [gdk.cursor.Cursor]