Widget.setCursor

void setCursor(gdk.cursor.Cursor cursor = null)

Sets the cursor to be shown when pointer devices point towards widget.

If the cursor is NULL, widget will use the cursor inherited from the parent widget.

Parameters

cursorthe new cursor