Key Press Event.
The server generates a key_press event for every key that is
pressed, including modifier keys.
   
Specify with:
     key_press
     
   Key Release Event.
The server generates a key_release event for every key that is
released, including modifier keys.
   
Specify with:
     key_release
     
   Button Press Event.
The server generates a button_press event for every mouse
button that is pressed.
   
If specified without options, it indicates any mouse button press:
     button_press
     
   To select any of a particular set of mouse buttons pressed, use:
     button_press(+ButtonList)
     
   Where ButtonList is a list that can contain the integers 1 to
5. As a special case, the
empty list degenerates into the first specification.
   
Button Release Event.
The server generates a button_release event for every mouse button
that is released.
   
If specified without options, it selects any mouse button release:
     button_release
     
   To select any of a particular set of mouse buttons released, use:
     button_release(+ButtonList)
     
   Where ButtonList is a list that can contain the integers 1 to
5. As a special case, the
empty list degenerates into the first specification.
   
Enter Notify Event.
The server generates an enter_notify event when the mouse pointer
enters a window or it is virtually entered by the pointer moving
between two windows that do not have a parent-child relationship.
   
Specify with:
     enter_notify
     
   Leave Notify Event.
The server generates a leave_notify event when the mouse pointer
leaves a window or it is virtually leaved by the pointer moving
between two windows that do not have a parent-child relationship.
   
Specify with :
     leave_notify
     
   Keymap Event.
The server generates a keymap_notify event immediately after each
enter_notify or focus_in event, as a way for the application to
read the keyboard state.
   
Specify with:
     keymap_notify
     
   Expose Event.
The server generates expose events when a window becomes visible
or previously invisible parts of a window become visible.
   
Specify with:
     expose
     
   Colormap Notify Event.
The server generates a colormap_notify event when the colormap
changes.
   
Specify with:
     colormap_notify
     
   Property Notify Event.
The server generates a property_notify event when a window property
changes.
   
Specify with:
     property_notify
     
   Visibility Notify Event.
The server generates a visibility_notify event when there is
any change in the visibility of the specified window.
   
Specify with:
     visibility_notify
     
   Resize Request Event.
The server generates a resize_request event when there is any attempt
to change the size of a window. This event is usually selected by the
Window Manager to intercept resize attempts and modify the request
according to its policies.
   
Specify with:
     resize_request