Device.getSource

Determines the type of the device.

Returns

a #GdkInputSource