/[emacs]/emacs/lispref/commands.texi
ViewVC logotype

Diff of /emacs/lispref/commands.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.55 by rms, Mon Sep 20 15:41:40 2004 UTC revision 1.56 by jasonr, Sun Oct 24 21:39:41 2004 UTC
# Line 1501  This kind of event indicates that the us Line 1501  This kind of event indicates that the us
1501  the window manager.  Its standard definition is @code{ignore}; since the  the window manager.  Its standard definition is @code{ignore}; since the
1502  frame has already been made visible, Emacs has no work to do.  frame has already been made visible, Emacs has no work to do.
1503    
1504  @cindex @code{mouse-wheel} event  @cindex @code{wheel-up} event
1505  @item (mouse-wheel @var{position} @var{delta})  @cindex @code{wheel-down} event
1506  This kind of event is generated by moving a wheel on a mouse (such as  @item (wheel-up @var{position})
1507  the MS Intellimouse).  Its effect is typically a kind of scroll or zoom.  @item (wheel-down @var{position})
1508    This kind of event is generated by moving a wheel on a mouse.  Its
1509  The element @var{delta} describes the amount and direction of the wheel  effect is typically a kind of scroll or zoom.
 rotation.  Its absolute value is the number of increments by which the  
 wheel was rotated.  A negative @var{delta} indicates that the wheel was  
 rotated backwards, towards the user, and a positive @var{delta}  
 indicates that the wheel was rotated forward, away from the user.  
1510    
1511  The element @var{position} is a list describing the position of the  The element @var{position} is a list describing the position of the
1512  event, in the same format as used in a mouse-click event.  event, in the same format as used in a mouse-click event.
1513    
1514  This kind of event is generated only on some kinds of systems.  This kind of event is generated only on some kinds of systems. On
1515    other systems, mouse-4 and mouse-5 may be used instead.  For portable
1516    code, the variables @code{mouse-wheel-up-event} and
1517    @code{mouse-wheel-down-event} defined in @file{mwheel.el} can be used.
1518    
1519  @cindex @code{drag-n-drop} event  @cindex @code{drag-n-drop} event
1520  @item (drag-n-drop @var{position} @var{files})  @item (drag-n-drop @var{position} @var{files})

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26