set_device_cursor


Description:

public void set_device_cursor (Device device, Cursor cursor)

Sets a specific Cursor for a given device when it gets inside this .

Use Cursor.from_name or Cursor.from_texture to create the cursor. To make the cursor invisible, use gdk_blank_cursor. Passing null for the cursor argument to set_cursor means that this will use the cursor of its parent surface. Most surfaces should use this default.

Parameters:

this

a Surface

device

a logical, pointer Device

cursor

a Cursor