Widget.onKeyPressEvent

class Widget
bool
onKeyPressEvent