set_events


Description:

public void set_events (EventMask event_mask)

The event mask for a window determines which events will be reported for that window from all master input devices.

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

event_mask

event mask for this