X11.deviceManagerLookup

Returns the GdkDevice that wraps the given device ID.

class X11
static
deviceManagerLookup

Parameters

deviceManager DeviceManager

a GdkDeviceManager

deviceId int

a device ID, as understood by the XInput2 protocol

Return Value

Type: Device

(allow-none): The GdkDevice wrapping the device ID, or NULL if the given ID doesn't currently represent a device. [transfer none] Since 3.2

Meta