Function Widget.onKeyEvent

process key event, return true if event is processed.

bool onKeyEvent(
  KeyEvent event
);