www.delorie.com/gnu/docs/elisp-manual-21/elisp_294.html   search  
 
Buy the book!


GNU Emacs Lisp Reference Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

21.6 Input Events

The Emacs command loop reads a sequence of input events that represent keyboard or mouse activity. The events for keyboard activity are characters or symbols; mouse events are always lists. This section describes the representation and meaning of input events in detail.

Function: eventp object
This function returns non-nil if object is an input event or event type.

Note that any symbol might be used as an event or an event type. eventp cannot distinguish whether a symbol is intended by Lisp code to be used as an event. Instead, it distinguishes whether the symbol has actually been used in an event that has been read as input in the current Emacs session. If a symbol has not yet been so used, eventp returns nil.

21.6.1 Keyboard Events  Ordinary characters--keys with symbols on them.
21.6.2 Function Keys  Function keys--keys with names, not symbols.
21.6.3 Mouse Events  Overview of mouse events.
21.6.4 Click Events  Pushing and releasing a mouse button.
21.6.5 Drag Events  Moving the mouse before releasing the button.
21.6.6 Button-Down Events  A button was pushed and not yet released.
21.6.7 Repeat Events  Double and triple click (or drag, or down).
21.6.8 Motion Events  Just moving the mouse, not pushing a button.
21.6.9 Focus Events  Moving the mouse between frames.
21.6.10 Miscellaneous Window System Events  Other events window systems can generate.
21.6.11 Event Examples  Examples of the lists for mouse events.
21.6.12 Classifying Events  Finding the modifier keys in an event symbol. Event types.
21.6.13 Accessing Events  Functions to extract info from events.
21.6.14 Putting Keyboard Events in Strings  Special considerations for putting keyboard character events in a string.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003