event_list_mask/2
event_list_mask(?EventList, ?Mask)
Translates between a list of events names and the corresponding integer bitmask.
EventList is a list of event mask names, taken from the following:
key_press
key_release
button_press
button_release
enter_window
leave_window
pointer_motion
pointer_motion_hint
button1_motion
button2_motion
button3_motion
button4_motion
button5_motion
button_motion
keymap_state
exposure
visibility_change
structure_notify
resize_redirect
substructure_notify
substructure_redirect
focus_change
property_change
colormap_change
owner_grab_button
Mask is the corresponding integer bitmask.