gdkWindowSetCursor {RGtk2} | R Documentation

## gdkWindowSetCursor

### Description

Sets the mouse pointer for a `GdkWindow`. Use `gdkCursorNewForDisplay` or `gdkCursorNewFromPixmap` to create the cursor. To make the cursor invisible, use `GDK_BLANK_CURSOR`. Passing `NULL` for the `cursor` argument to `gdkWindowSetCursor` means that `window` will use the cursor of its parent window. Most windows should use this default.

### Usage

    gdkWindowSetCursor(object, cursor = NULL)

### Arguments

``object`` | a `GdkWindow`
``cursor`` | a cursor

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.40 Index]