mouse-event-type

Name

mouse-event-type -- Return a symbol corresponding to the type of the most recent mouse event.

Synopsis

(mouse-event-type)

Description

Return a symbol corresponding to the type of the most recent mouse event. Return value is one of 'motion, 'click, 'one-and-a-half-clicks, 'double-click. You can case on this symbol in a procedure bound to a mouse event to determine, e.g., whether the user single clicked or double clicked.

Implementation Notes

Module: Built-in Primitive

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