Sets a specific gdk.cursor.Cursor for a given device when it gets inside surface.
Passing null for the cursor argument means that surface will use the cursor of its parent surface. Most surfaces should use this default.
Use gdk.cursor.Cursor.newFromName or gdk.cursor.Cursor.newFromTexture to create the cursor. To make the cursor invisible, use gdk.types.CursorType.BlankCursor.
a pointer gdk.device.Device
a gdk.cursor.Cursor
Sets a specific gdk.cursor.Cursor for a given device when it gets inside surface.
Passing null for the cursor argument means that surface will use the cursor of its parent surface. Most surfaces should use this default.
Use gdk.cursor.Cursor.newFromName or gdk.cursor.Cursor.newFromTexture to create the cursor. To make the cursor invisible, use gdk.types.CursorType.BlankCursor.