Adds the events in the bitfield events to the event mask for this.
events
See set_events and the input handling overview for details.
a Widget
an event mask, see EventMask