Surface.getDeviceCursor

Retrieves a gdk.cursor.Cursor pointer for the device currently set on the specified gdk.surface.Surface.

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.

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

class Surface
getDeviceCursor

Parameters

device gdk.device.Device

Return Value

Type: gdk.cursor.Cursor