The event loop

No widgets are visible before we call the event loop:
root.mainloop()
This loop waits for user input (e.g. mouse clicks)
There is no predefined program flow after the event loop is invoked; the program just responds to events
The widgets define the event responses

previousnexttable of contents