Translations:OOUI/Creating interfaces programmatically/49/en

Use the ButtonWidget's on method to specify an event (e.g., click)