set_device_events
Description:
Sets the event mask for a given device (Normally a floating device, not attached to any visible pointer) to this .
For example, an event mask including BUTTON_PRESS_MASK means the window should report button press events. The event mask is the bitwise OR of values from the EventMask enumeration.
See the input handling overview for details.
Parameters:
this |
a Window |
device |
Device to enable events for. |
event_mask |
event mask for this |