public emit(event as GuiEvent) as Void:
Emits the event to all registered handlers.
button.clicked.emit(ActionEvent(button))