Method

GdkDeviceManagerlist_devices

deprecated: 3.20 since: 3.0

Declaration [src]

GList*
gdk_device_manager_list_devices (
  GdkDeviceManager* device_manager,
  GdkDeviceType type
)

Description [src]

Returns the list of devices of type type currently attached to device_manager.

Available since: 3.0

Deprecated since: 3.20

, use gdk_seat_get_pointer(), gdk_seat_get_keyboard() and gdk_seat_get_slaves() instead.

Parameters

type

Type: GdkDeviceType

Device type to get.

Return value

Type: A list of GdkDevice*

A list of GdkDevices. The returned list must be freed with g_list_free (). The list elements are owned by GTK+ and must not be freed or unreffed.

The caller of the method takes ownership of the returned data container, but not the data inside it.