comparison lispref/commands.texi @ 57679:6855ae44bb3f

Removed mouse-wheel event, added wheel-up and wheel-down event, with a note about how to use mwheel.el to handle both these events and mouse-4 and mouse-5 events.
author Jason Rumney <jasonr@gnu.org>
date Sun, 24 Oct 2004 21:39:41 +0000
parents 4d72b7709db1
children 26ee7f4433d0
comparison
equal deleted inserted replaced
57678:289e10822308 57679:6855ae44bb3f
1499 @item (make-frame-visible (@var{frame})) 1499 @item (make-frame-visible (@var{frame}))
1500 This kind of event indicates that the user deiconified @var{frame} using 1500 This kind of event indicates that the user deiconified @var{frame} using
1501 the window manager. Its standard definition is @code{ignore}; since the 1501 the window manager. Its standard definition is @code{ignore}; since the
1502 frame has already been made visible, Emacs has no work to do. 1502 frame has already been made visible, Emacs has no work to do.
1503 1503
1504 @cindex @code{mouse-wheel} event 1504 @cindex @code{wheel-up} event
1505 @item (mouse-wheel @var{position} @var{delta}) 1505 @cindex @code{wheel-down} event
1506 This kind of event is generated by moving a wheel on a mouse (such as 1506 @item (wheel-up @var{position})
1507 the MS Intellimouse). Its effect is typically a kind of scroll or zoom. 1507 @item (wheel-down @var{position})
1508 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 1509 effect is typically a kind of scroll or zoom.
1510 rotation. Its absolute value is the number of increments by which the
1511 wheel was rotated. A negative @var{delta} indicates that the wheel was
1512 rotated backwards, towards the user, and a positive @var{delta}
1513 indicates that the wheel was rotated forward, away from the user.
1514 1510
1515 The element @var{position} is a list describing the position of the 1511 The element @var{position} is a list describing the position of the
1516 event, in the same format as used in a mouse-click event. 1512 event, in the same format as used in a mouse-click event.
1517 1513
1518 This kind of event is generated only on some kinds of systems. 1514 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.
1519 1518
1520 @cindex @code{drag-n-drop} event 1519 @cindex @code{drag-n-drop} event
1521 @item (drag-n-drop @var{position} @var{files}) 1520 @item (drag-n-drop @var{position} @var{files})
1522 This kind of event is generated when a group of files is 1521 This kind of event is generated when a group of files is
1523 selected in an application outside of Emacs, and then dragged and 1522 selected in an application outside of Emacs, and then dragged and