All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

simple-pane-block-mouse-wheel Function

Summary

Blocks or unblocks the mouse wheel events for a pane.

Package

capi

Signature

simple-pane-block-mouse-wheel pane block-p

Arguments
pane
block-p
A boolean.
Description

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.

Notes

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.

See also

simple-pane-show-scroll-bars


CAPI User Guide and Reference Manual (Unix version) - 18 Feb 2025 15:34:22