Method
GdkDeviceget_associated_device
since: 3.0
Declaration [src]
GdkDevice*
gdk_device_get_associated_device (
GdkDevice* device
)
Description [src]
Returns the associated device to device, if device is of type
GDK_DEVICE_TYPE_MASTER, it will return the paired pointer or keyboard.
If device is of type GDK_DEVICE_TYPE_SLAVE, it will return
the master device to which device is attached to.
If device is of type GDK_DEVICE_TYPE_FLOATING, NULL will be
returned, as there is no associated device.
Available since: 3.0
| Gets property | Gdk.Device:associated-device |
Return value
Type: GdkDevice
The associated device, or
NULL.
| The returned data is owned by the instance. |
The return value can be NULL. |