lookup_for_device_manager
Description:
[ CCode ( cname = "gdk_x11_device_manager_lookup" ) ]
[ Version ( deprecated = true , deprecated_since = "4.18" ) ]
public unowned DeviceXI2? lookup_for_device_manager (int device_id)
[ Version ( deprecated = true , deprecated_since = "4.18" ) ]
public unowned DeviceXI2? lookup_for_device_manager (int device_id)
Warning: lookup_for_device_manager is deprecated since 4.18.
Returns the `GdkDevice` that wraps the given device ID.
Parameters:
device_id |
a device ID, as understood by the XInput2 protocol |
device_manager |
a `GdkDeviceManager` |
Returns:
The `GdkDevice` wrapping the device ID, or null if the given ID doesn’t currently represent a device. |