UIElement.onKeyDown

Called when a key is pressed/released. Functiosn meant to be overridden.

Key events bubbles towards the top until being processed, eventually the DAW will get it.

class UIElement
nothrow @nogc
bool
onKeyDown
(
Key key
)

Return Value

Type: bool

true if event handled.

Meta