Window.setCursor

Sets the default mouse pointer for a #GdkWindow.

Note that cursor must be for the same display as 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
setCursor

Parameters

cursor gdk.cursor.Cursor

a cursor