Help: How do you call a lick event in a widget

Hey again,

i dunno what you mean with “doing different things” buttons will fire when you click on them. And they can fire a specific Event you want any button to fire.
Which Event a Button will fire can be set via an Interface or an Event Dispatcher.
Maybe, you can tell me an Example of what should happen when you click on a button you created.

best regards