Window.setCursor

Sets the default mouse pointer for a gdk.Window

Note that cursor must be for the same display as window.

Use Cursor.newForDisplay or Cursor.newFromPixbuf to create the cursor. To make the cursor invisible, use GDK_BLANK_CURSOR. Passing NULL for the cursor argument to 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 Cursor

a cursor