public event clicked as ActionEvent
Rich action event emitted when the terminal button is activated.
onClick is kept for compatibility with existing terminal applications, but new code should prefer the common event API.
button.clicked += lambda(e: ActionEvent): print(e.source)