External actions are delivered to diputree by the operating system. These actions generate events which are dispatched to the listening handlers.
The system informs diputree that an action has occurred and diputree is the target of this action.
This can range from pure system actions, like notifying diputree that it has been loaded, to user originated actions, like a mouse click
An event is generated when an action is fired on diputree.
This translation is necessary, because the low level actions need to be translated in events that are useful to the methods that will handle these events (the handlers).
The dispatcher is responsible for dispatching the event to the handler(s). A handler has to be registered first to receive an event from diputree.
It is possible to dispatch a single event to multiple handlers.
A handler is the method that will receive the event from the dispatcher.
These handlers can be the built in handlers, scripts or both.