handle_event method

handle_event

This method is called whenever an event occurs of the type for which the IEventListener interface was registered.

def handle_event(self, event):
    ...
ParameterTypeDescription
eventEventThe Event contains contextual information about the event.
It also contains the Event.stop_propagation and Event.prevent_default methods which are used in determining the event’s flow and default action.

See Also