get_device_cursor


Description:

[ Version ( since = "3.0" ) ]
public weak Cursor? get_device_cursor (Device device)

Retrieves a Cursor pointer for the device currently set on the specified Window, or null.

If the return value is null then there is no custom cursor set on the specified window, and it is using the cursor for its parent window.

Parameters:

this

a Window.

device

a master, pointer Device.

Returns:

a Cursor, or null. The returned object is owned by the Window and should not be unreferenced directly. Use set_cursor to unset the cursor of the window