betty.event_dispatcher module¶
Provide the Dispatch API.
- class betty.event_dispatcher.Event[source]¶
Bases:
object
An event that can be dispatched and handled.
For each unique ‘conceptual’ event (a thing that happens while using Betty), a subclass MUST be created for that specific event type. Instances of these subclasses are dispatched and handled.