Window.setDeviceCursor

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.

class Window
void
setDeviceCursor

Parameters

device gdk.device.Device

a master, pointer #GdkDevice

cursor gdk.cursor.Cursor

a #GdkCursor