# Summary

Use the main function for:

- Creating all windows, buttons etc.
- Initialise your application
- Then call `main_loop`

Use call-backs for:

- Making things happen
- Use `show_window` to show already created windows
- Use `hide_window` to hide windows without destroying them
- Don't create windows inside call-backs unless there is a very good reason

Use drawing:

- Only draw something if you want graphics
- Labels, text fields and text boxes will usually do for text