Gesture.getDevice

gdk.device.Device getDevice()

Returns the master #GdkDevice that is currently operating on gesture, or null if the gesture is not being interacted.

Returns

a #GdkDevice, or null