Device.associatedDevice

Get associatedDevice property.

class Device
@property
associatedDevice
()

Return Value

Type: gdk.device.Device

Associated pointer or keyboard with this device, if any. Devices of type #GDK_DEVICE_TYPE_MASTER always come in keyboard/pointer pairs. Other device types will have a null associated device.