get-key-event

Name

get-key-event -- Return a represention of the next key event.

Synopsis

(get-key-event)

Description

Return a represention of the next key event. The return value is (string modmask keycode). The cdr of the return value can be used as the arguments to undo-passive-grab and redo-passive-grab. The string is usable as a key binding string. Modifiers are listed first, separated by "-" followed by a "-" and the keysym name. E.g., "S-C-M-z" is Shift+Control+Meta + 'z' key. If the event is only modifier keys, then the string will end in a "-"; e.g., "S-C-M-". See also get-next-event.

Implementation Notes

Module: Built-in Primitive

Defined in src/miscprocs.c at line 829 (CVS log)