Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More

lino.core.keyboard

This defines the Hotkey class and some keystrokes.

The system is not yet heavily used.

React uses the attributes ctrl, shift, alt and code.

For the code, see: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code

Classes

Hotkey([key])

Represents a combination of keystrokes.

class lino.core.keyboard.Hotkey(key=None, **kw)

Bases: object

Represents a combination of keystrokes.