First page Back Continue Last page Overview Graphics
Events (Cont’d)
The application does nothing out of itself, it’s just waiting for events.
If an event is delivered, it is sent to the active widget.
If this widget is not interested, the event is passed to its parent, and so on, until it is handled.
Meanwhile, the application is waiting again for the next event.
This is called the event loop or main loop.