Method

GdkDeviceManagerlist_devices

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 GdkDeviceType
 

Device type to get.

Return value

Returns: 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 data container, but not the data inside it.