Method

GdkSeatget_slaves

since: 3.20

Declaration [src]

GList*
gdk_seat_get_slaves (
  GdkSeat* seat,
  GdkSeatCapabilities capabilities
)

Description [src]

Returns the slave devices that match the given capabilities.

Available since: 3.20

Parameters

capabilities

Type: GdkSeatCapabilities

Capabilities to get devices for.

Return value

Type: A list of GdkDevice*

A list of GdkDevices. The list must be freed with g_list_free(), the elements are owned by GDK and must not be freed.

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