eventΒΆ

The event package handles events generated by Guerilla so plugins can interact when such events are triggered.

Functions:

nil event.declare ( string name ) Declare an event type
string doc event.doc ( string name ) Return a doc string of the event
table eventlist event.list ( ) List the names of declared events
nil event.register ( string event , function handler ) Associate an event with a handler function
nil event.signal ( string event , any ... ) Trigger an event, and execute registered handlers.