Mogelijk om event handlers aan widgets te koppelen in thema/plugin?

api.attachWidgetAction is the way to go. You can read search the codebase and you’ll be gtg.

Examples here