lookup-mouse

Name

lookup-mouse -- Return the procedure bound to mouse BUTTON within the CONTEXTS.

Synopsis

(lookup-mouse contexts button)

Description

Return the procedure bound to mouse button within the contexts. button is a string that may contain modifier prefixes, e.g., "C-S-M-1". contexts is a list of event-contexts (e.g., '(button1 sidebar)) button is a string or integer giving the mouse button number and any modifiers as a prefix. The return values is the procedure object, or #f if there is no matching binding.

Implementation Notes

Module: Built-in Primitive

Defined in src/binding.c at line 1266 (CVS log)