Function
GdkX11x11_device_manager_lookup
since: 3.2
Declaration [src]
GdkDevice*
gdk_x11_device_manager_lookup (
GdkDeviceManager* device_manager,
gint device_id
)
Parameters
device_manager-
Type:
GdkX11DeviceManagerCoreA
GdkDeviceManager.The data is owned by the caller of the function. device_id-
Type:
gintA device ID, as understood by the XInput2 protocol.
Return value
Type: GdkX11DeviceCore
The GdkDevice wrapping the device ID,
or NULL if the given ID doesn’t currently represent a device.
| The data is owned by the called function. |
The return value can be NULL. |