Summary
To summarize, we began by creating a custom GUI framework on top of Tkinter. We saw how GUI frameworks can be used to generate boiler plate codes for our programs, thereby ensuring maximum code reuse and rapid application development.
Next, we explored the Canvas widget in detail. We saw how to create various canvas items. Then, we saw how we could manipulate the attributes of these canvas items using tag
or id
. We saw the colorchooser
module of Tkinter in action. We worked with the ttk Combobox widget. We also looked at the common methods that are available on all Tkinter widgets.
We also saw the benefits of writing programs that use conventions over configurations to ease the logical flow of the program.
We will further expand on these ideas in the next chapter as we build multiple fun projects and explore related domains like socket programming, network programming, database programming, 3D animation, and much more.