Arguments: stream event-number button-state data
In 5.0 and later, events are handle somewhat differently than in 3.0.2. Instead of specializing event, you should specialize the new generic function named after the event, such as right-mouse-down and mouse-moved. These were only constants in 3.0.2 (corresponding to the event-number argument to event) but they are now constants and generic-functions. Event is still called, as in 3.0.2, but it simply dispatches to the appropriate new function. All these functions take the same arguments event except the event-number argument. Argument list change: event used to have five arguments. It now accepts only four. The time (fifth) argument is no longer passed because it was a performance drain and rarely if ever used. If you need the time, use the function GetMessageTime.
See About events in the IDE in cgide.htm.
Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.
The documentation is described in introduction.htm and the index is in index.htm.
Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.
Created 2000.10.5.