Surface.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.

class Surface
getCursor
()

Return Value

Type: gdk.cursor.Cursor