Module ui.widget.eventlistener

The EventListener is an interface that handles events.

This is the base class for Widget

EventListeners have a rudimentary event handler/dispatcher that will call a method "onEventName" for an event with name "EventName"

Functions

EventListener:handleEvent (event) Invoke handler method for an event.


Functions

EventListener:handleEvent (event)
Invoke handler method for an event.

Handler method name is determined by ui.event.Event's handler field. By default, it's "on"..Event.name.

Parameters:

Returns:

    bool return true if event is consumed successfully.
generated by LDoc 1.5.0 Last updated 2024-10-13 15:13:20