public event keyPressed as KeyEvent
Keyboard press event emitted when this widget has focus.
field.keyPressed += lambda(e as KeyEvent): print(e.key)