Method

GdkWindowset_device_cursor

since: 3.0

Declaration [src]

void
gdk_window_set_device_cursor (
  GdkWindow* window,
  GdkDevice* device,
  GdkCursor* cursor
)

Description [src]

Sets a specific GdkCursor for a given device when it gets inside window. Use gdk_cursor_new_for_display() or gdk_cursor_new_from_pixbuf() to create the cursor. To make the cursor invisible, use GDK_BLANK_CURSOR. Passing NULL for the cursor argument to gdk_window_set_cursor() means that window will use the cursor of its parent window. Most windows should use this default.

Available since: 3.0

Parameters

device

Type: GdkDevice

A master, pointer GdkDevice.

The data is owned by the caller of the method.
cursor

Type: GdkCursor

A GdkCursor.

The data is owned by the caller of the method.