- push-key-bindings BINDINGSprocedure
Set the currently active action that will be triggered when a key is pressed, pushing that action onto a stack. BINDINGS may be a list of bindings, in which case those bindings will be obeyed. BINDINGS may also be a function of four arguments – (key scancode action mods) – in which case this function is called when a key press occurs. key is a key code, whereas scancode is the corresponding scancode for the key that was pressed. action is one of +press+, +release+, or +repeat+, and mods is the integer formed by anding together the modifier keys – +mod-super+, +mod-alt+, +mod-control+, and +mod-shift+ – that were pressed at the time of the key event.