Window.setSourceEvents

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.

class Window
void
setSourceEvents

Parameters

source GdkInputSource

a GdkInputSource to define the source class.

eventMask GdkEventMask

event mask for window

Meta