:enter-notify ; Matches any :enter-notify event (:motion-notify ; Matches a :motion-notify event.. :button-1) ; ...if :button-1 is down. (:button-press ; Matches a :button-press... :button-1 ; ...if it's :button-1... :shift) ; ...and the shift key is down. (:button-release ; Matches a :button-release... :button-3 ; ...if it's :button-3... (:shift :control) ; ...and the shift,control keys are down... :all) ; ...and all other modifiers are up. (:key-press ; Matches a :key-press... :any ; ...for any key... (:control :hyper)) ; ...when the control,hyper keys are down. (:button-press ; Matches a :button-press... :button-3 ; ...if it's :button-3... :double-click) ; ...and it's a double-click.