All Manuals > CLIM 2.0 User Guide > 15 Extended Stream Input Facilities

15.4 The Pointer Protocol

pointer Protocol Class

Summary: The protocol class that corresponds to a pointing device. If you want to create a new class that behaves like pointer, it should be a subclass of pointer. Subclasses of pointer must obey the pointer protocol. Members of this class are mutable.

pointerp Function

pointerp object

Summary: Returns t if object is a pointer; otherwise, it returns nil.

:port Initarg

Summary: Specifies the port with which the pointer is associated.

standard-pointer Class

Summary: The instantiable class that implements a pointer.

pointer-port Generic Function

pointer-port pointer

Summary: Returns the port with which the pointer pointer is associated.

pointer-sheet Generic Function

pointer-sheet pointer

(setf pointer-sheet) Generic Function

(setf pointer-sheet) sheet pointer

Summary: Returns (or sets) the sheet over which the pointer pointer is located.

pointer-button-state Generic Function

pointer-button-state pointer

Summary: Returns the state of the buttons of the pointer pointer. This is represented as the logior of the values obtained from pointer-event-button.

pointer-position Generic Function

pointer-position pointer

Summary: Returns the x and y position of the pointer pointer as two values.

(setf* pointer-position) Generic Function

(setf* pointer-position) x y pointer

Summary: Sets the x and y position of the pointer pointer to the specified position. For the details of setf*, see C.4 Multiple-Value Setf.

pointer-cursor Generic Function

pointer-cursor pointer

(setf pointer-cursor) Generic Function

(setf pointer-cursor) cursor pointer

Summary: A pointer object usually has a visible cursor associated with it. These functions return (or set) the cursor associated with the pointer pointer.


CLIM 2.0 User Guide - 01 Dec 2021 19:39:00