Grx.Application::event

connect('event', function (application, event: Grx.Event, ): Boolean);
  

This signal is emitted when an event occurs. Handlers can return true to prevent any further handlers from running.

application

instance of Grx.Application that is emitting the signal

event

the event that triggered the signal

Returns

true if the handler handled the event, or false to continue propagating the event.