Device.getMode

Determines the mode of the device.

Returns

a #GdkInputSource