keyboardEvent
open fun keyboardEvent(@NotNull event: @NotNull KeyboardEvent, @NotNull context: @NotNull GuiImmediateContext): Boolean(source)
Called by the parent renderer.
N.B.: this method is called regardless of whether this element is focused or not.
Return
true
if this event was handled, false
if this event should be handled by another element
Parameters
context
the context in which this