void gdk_window_set_source_events ( GdkWindow* window, GdkInputSource source, GdkEventMask event_mask )
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.
Available since: 3.0
GdkInputSourceto define the source class.
Event mask for