get_for_id


Description:

[ CCode ( cname = "clutter_get_input_device_for_id" ) ]
[ Version ( deprecated = true , deprecated_since = "1.10" , since = "0.8" ) ]
public static unowned InputDevice get_for_id (int id_)

Warning: get_for_id is deprecated since 1.10.

Retrieves the InputDevice from its id_.

Note:

Use get_device instead.

This is a convenience wrapper for get_device and it is functionally equivalent to:

	ClutterDeviceManager *manager;
ClutterInputDevice *device;

manager = clutter_device_manager_get_default ();
device = clutter_device_manager_get_device (manager, id);

Parameters:

id_

the unique id for a device

Returns:

a InputDevice, or null




2022 vala-language.org