Window.setDeviceCursor

void setDeviceCursor(gdk.device.Device device, gdk.cursor.Cursor cursor)

Sets a specific #GdkCursor for a given device when it gets inside window. Use [gdk.cursor.Cursor.newForDisplay] or [gdk.cursor.Cursor.newFromPixbuf] to create the cursor. To make the cursor invisible, use [gdk.types.CursorType.BlankCursor]. Passing null for the cursor argument to [gdk.window.Window.setCursor] means that window will use the cursor of its parent window. Most windows should use this default.

Parameters

devicea master, pointer #GdkDevice
cursora #GdkCursor