[previous] [up] [next]     [index]
Next: Keyboard Operations Up: Viewport Graphics Previous: Protecting Graphics Operations

Mouse Operations

The graphics library contains functions that determine where the mouse is, if there are any clicks, etc. The functions get-mouse-click and ready-mouse-click first return a ``mouse-click descriptor,'' and then other functions take the descriptor and return the mouse's position, which button was pushed, etc. Mouse clicks are buffered and returned in the same order in which they occurred. Thus, the descriptors returned by get-mouse-click and ready-mouse-click may be from clicks that occurred long before these functions were called.


[previous] [up] [next]     [index]
Next: Keyboard Operations Up: Viewport Graphics Previous: Protecting Graphics Operations

PLT