Window.setDeviceEvents

Sets the event mask for a given device (Normally a floating device, not attached to any visible pointer) to window. For example, an event mask including GDK_BUTTON_PRESS_MASK means the window should report button press events. The event mask is the bitwise OR of values from the GdkEventMask enumeration.

class Window
void
setDeviceEvents

Parameters

device Device

GdkDevice to enable events for.

eventMask GdkEventMask

event mask for window Since 3.0

Meta