File: mwheel.el.html
This enables the use of the mouse wheel (or scroll wheel) in Emacs.
Under X11/X.Org, the wheel events are sent as button4/button5 events.
Mouse wheel support is already enabled by default on most graphical
displays. You can toggle it using M-x mouse-wheel-mode.
Defined variables (20)
mouse-wheel--installed-bindings-alist | Alist of all installed mouse wheel key bindings. |
mouse-wheel-click-event | Event that should be temporarily inhibited after mouse scrolling. |
mouse-wheel-down-event | Event used for scrolling down. |
mouse-wheel-flip-direction | Swap direction of ‘wheel-right’ and ‘wheel-left’. |
mouse-wheel-follow-mouse | Whether the mouse wheel should scroll the window that the mouse is over. |
mouse-wheel-inhibit-click-time | Time in seconds to inhibit clicking on mouse wheel button after scroll. |
mouse-wheel-left-event | Event used for scrolling left. |
mouse-wheel-mode | Non-nil if Mouse-Wheel mode is enabled. |
mouse-wheel-mode-hook | Hook run after entering or leaving ‘mouse-wheel-mode’. |
mouse-wheel-progressive-speed | If nil, scrolling speed is proportional to the wheel speed. |
mouse-wheel-right-event | Event used for scrolling right. |
mouse-wheel-scroll-amount | Amount to scroll windows by when spinning the mouse wheel. |
mouse-wheel-scroll-amount-horizontal | Amount to scroll windows horizontally. |
mouse-wheel-tilt-scroll | Enable horizontal scrolling by tilting mouse wheel or via touchpad. |
mouse-wheel-up-event | Event used for scrolling up. |
mwheel-inhibit-click-event-timer | Timer running while mouse wheel click event is inhibited. |
mwheel-scroll-down-function | Function that does the job of scrolling downward. |
mwheel-scroll-left-function | Function that does the job of scrolling left. |
mwheel-scroll-right-function | Function that does the job of scrolling right. |
mwheel-scroll-up-function | Function that does the job of scrolling upward. |
Defined functions (13)
mouse-wheel--add-binding | (KEY FUN) |
mouse-wheel--create-scroll-keys | (BINDING EVENT) |
mouse-wheel--get-scroll-window | (EVENT) |
mouse-wheel--remove-bindings | () |
mouse-wheel-change-button | (VAR BUTTON) |
mouse-wheel-mode | (&optional ARG) |
mouse-wheel-text-scale | (EVENT) |
mwheel-event-button | (EVENT) |
mwheel-event-window | (EVENT) |
mwheel-filter-click-events | () |
mwheel-inhibit-click-timeout | () |
mwheel-install | (&optional UNINSTALL) |
mwheel-scroll | (EVENT &optional ARG) |