Page 59 Table of Contents Index Page 61
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

are used to specify the pointer object, pointer button, and native x and y position of the pointer
at the time of the event. The sheet's x and y positions are derived from the supplied native x
and y positions and the sheet itself.

=> pointer-event-x pointer-event [Generic Function]
=> pointer-event-y pointer-event [Generic Function]
Returns the x and y position of the pointer at the time the event occurred, in the coordinate
system of the sheet that received the event. All pointer events must implement a method for
these generic functions.

=> pointer-event-native-x pointer-event [Generic Function]
=> pointer-event-native-y pointer-event [Generic Function]
Returns the x and y position of the pointer at the time the event occurred, in the pointer's native
coordinate system. All pointer events must implement a method for these generic functions.

=> pointer-event-pointer pointer-event [Generic Function]
Returns the pointer object to which this event refers.

=> pointer-event-button pointer-event [Generic Function]
Returns the number of the pointer button that was pressed, which will be one of +pointer-
left-button+
, +pointer-middle-button+, or +pointer-right-button+.

All pointer event classes must implement methods for pointer-event-x, pointer-event-y,
pointer-event-native-x, pointer-event-native-y, pointer-event-pointer, and pointer-
event-button
.

=> pointer-button-event [Class]
The class that corresponds to any sort of pointer button event. This is a subclass of pointer-
event
.

=> pointer-button-press-event [Class]
=> pointer-button-release-event [Class]
=> pointer-button-hold-event [Class]
The classes that correspond to a pointer button press, button release, and click-and-hold events.
These are subclasses of pointer-button-event.

=> pointer-button-click-event [Class]
=> pointer-button-double-click-event [Class]
=> pointer-button-click-and-hold-event [Class]
The classes that correspond to a pointer button press, followed immediately by (respectively)
a button release, another button press, or pointer motion. These are subclasses of pointer-
button-event
. Ports are not required to generate these events.

=> pointer-motion-event [Class]


Page 59 Table of Contents Index Page 61
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