Surface.setCursor
void setCursor(gdk.cursor.Cursor cursor = null)Sets the default mouse pointer for a [gdk.surface.Surface].
Passing null for the cursor argument means that surface will use the cursor of its parent surface. Most surfaces should use this default. Note that cursor must be for the same display as surface.
Use [gdk.cursor.Cursor.newFromName] or [gdk.cursor.Cursor.newFromTexture] to create the cursor. To make the cursor invisible, use [gdk.types.CursorType.BlankCursor].
Parameters
cursor | a [gdk.cursor.Cursor] |