X events are also represented as structured objects with slot names
which are directly translated from the C equivalent. The accessor
functions are named by <event name>-<slot name>. Some
examples:
(event-window event) | This applies to all events |
(event-type event) | So does this |
(button-event-x event) | Some button event |
(button-event-button event) | accessors |
At the moment, XClientMessage and XKeyMap events are not supported (they will be in the not too distant future).
Provided conveniences
Since Motif requires the use of font lists for building non-trivial compound strings, there are some Lisp functions to ease the pain of building them: