onKey

abstract fun onKey(event: CustomWidget.KeyEvent): Boolean

Handles keyboard events for custom widgets. Override this for handling keyboard inputs.

Return

whether handling was successful or not

Author

fzzyhmstrs

Since

0.7.3

Parameters

event

KeyEvent keyboard information to use during handling