Next: , Previous: , Up: Events   [Contents][Index]


25.5.3 Event Predicates

The following predicates return whether an object is an event of a particular type.

Function: key-press-event-p object

This is true if object is a key-press event.

Function: button-event-p object

This is true if object is a mouse button-press or button-release event.

Function: button-press-event-p object

This is true if object is a mouse button-press event.

Function: button-release-event-p object

This is true if object is a mouse button-release event.

Function: motion-event-p object

This is true if object is a mouse motion event.

Function: mouse-event-p object

This is true if object is a mouse button-press, button-release or motion event.

Function: eval-event-p object

This is true if object is an eval event.

Function: misc-user-event-p object

This is true if object is a misc-user event.

Function: process-event-p object

This is true if object is a process event.

Function: timeout-event-p object

This is true if object is a timeout event.

Function: event-live-p object

This is true if object is any event that has not been deallocated.