Method

GdkDevicelist_slave_devices

Declaration [src]

GList*
gdk_device_list_slave_devices (
  GdkDevice* device
)

Description [src]

If the device if of type GDK_DEVICE_TYPE_MASTER, it will return the list of slave devices attached to it, otherwise it will return NULL.

Return value

Type: A list of GdkDevice*

     the list of slave devices, or `NULL`. The list must be
     freed with g_list_free(), the contents of the list are
     owned by GTK+ and should not be freed.
The caller of the method takes ownership of the returned data container, but not the data inside it.
The return value can be NULL.