pub fn x11_device_manager_lookup(
device_manager: &X11DeviceManagerXI2,
device_id: i32,
) -> Option<X11DeviceXI2>
Expand description
Returns the gdk::Device
that wraps the given device ID.
§device_manager
a GdkDeviceManager
§device_id
a device ID, as understood by the XInput2 protocol
§Returns
The
gdk::Device
wrapping the device ID, or None
if the given ID
doesn’t currently represent a device.