Window.setSourceEvents

void setSourceEvents(gdk.types.InputSource source, gdk.types.EventMask eventMask)

Sets the event mask for any floating device (i.e. not attached to any visible pointer) that has the source defined as source. This event mask will be applied both to currently existing, newly added devices after this call, and devices being attached/detached.

Parameters

sourcea #GdkInputSource to define the source class.
eventMaskevent mask for window