Blocks or unblocks the mouse wheel events for a pane.
capi
simple-pane-block-mouse-wheel pane block-p
pane⇩ |
A simple-pane. |
block-p⇩ |
A boolean. |
The function simple-pane-block-mouse-wheel
can be used to block or unblock mouse wheel events for pane.
If block-p is true, pane does not receive mouse wheel events anymore. block-p nil
restores the processing of mouse wheel events. By default, mouse wheel events are not blocked.
Blocking the mouse wheel is useful when you want to allow the user to use the mouse, but ensure they do not perform scrolling by mistake.
CAPI User Guide and Reference Manual (Macintosh version) - 18 Feb 2025 15:33:09