The following functions allow access to the contents of events other than the position info described in the previous section.
This function returns the Keysym of the given key-press event. This will be the ascii code of a printing character, or a symbol.
This function returns the button-number of the given button-press or button-release event.
This function returns a list of symbols, the names of the modifier keys which were down when the given mouse or keyboard event was produced.
This function returns a number representing the modifier keys which were down when the given mouse or keyboard event was produced.
This function returns the callback function of the given timeout, misc-user, or eval event.