set_device_cursor


Description:

public void set_device_cursor (Device device, Cursor cursor)

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

Passing null for the cursor argument means that this will use the cursor of its parent surface. Most surfaces should use this default.

Use [[email protected]_from_name] or [[email protected]_from_texture] to create the cursor. To make the cursor invisible, use gdk_blank_cursor.

Parameters:

this

a `GdkSurface`

device

a pointer `GdkDevice`

cursor

a `GdkCursor`




2022 vala-language.org