All Manuals > Common Lisp Interface Manager 2.0 User's Guide > Chapter 15 Extended Stream Input Facilities

NextPrevUpTopContentsIndex

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]	

Arguments: object

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

:port

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

standard-pointer

Summary: The instantiable class that implements a pointer.

pointer-port [Generic Function]

Arguments: pointer

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

pointer-sheet [Generic Function]

Arguments: pointer

(setf pointer-sheet) [Generic Function]

Arguments: sheet pointer

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

pointer-button-state [Generic Function]

Arguments: 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]

Arguments: pointer

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

(setf* pointer-position) [Generic Function]

Arguments: 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]

Arguments: pointer

(setf pointer-cursor) [Generic Function]

Arguments: 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 .


Common Lisp Interface Manager 2.0 User's Guide - 3 Mar 2015

NextPrevUpTopContentsIndex