Passing event as parameter from the toolbar

I it possible to pass the event as parameter to a function where I call from the toolbar?
If yes, how do I define that?

Does really nobody knows whether I can pass a parameter or not?

In the next version any method called will receive the JSEvent as last parameter (after all the ones that might be configured).