Page 57 Table of Contents Index Page 59
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E



CHAPTER 8. SHEET PROTOCOLS

 event
    device-event
       keyboard-event
          key-press-event
          key-release-event
       pointer-event
          pointer-button-event
             pointer-button-press-event
             pointer-button-release-event
             pointer-button-hold-event
          pointer-motion-event
             pointer-enter-event
             pointer-exit-event
    window-event
       window-configuration-event
       window-repaint-event
    timer-event
Figure 8.1: CLIM event classes. All classes that appear at a given indentation are subclasses of
the class that appears above and at a lesser indentation.



=> :timestamp [Init Arg]
All subclasses of event must take a :timestamp initarg, which is used to specify the timestamp
for the event.

=> event-timestamp event [Generic Function]
Returns an integer that is a monotonically increasing timestamp for the the event event. The
timestamp must have at least as many bits of precision as a fixnum.

=> event-type event [Generic Function]
For the event event, returns a keyword with the same name as the class name, except stripped
of the "-event" ending. For example, the keyword :key-press is returned by event-type for
an event whose class is key-press-event.

All event classes must implement methods for event-type and event-timestamp.

=> device-event [Class]
=> :sheet [Init Arg]
=> :modifier-state [Init Arg]
The class that corresponds to any sort of device event. This is a subclass of event.


Page 57 Table of Contents Index Page 59
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E