O'Reilly logo

Tkinter GUI Application Development Blueprints - Second Edition by Bhaskar Chaudhary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

To summarize, in this chapter, we began by creating a custom GUI framework on top of Tkinter.

We saw how GUI frameworks can be used to generate boilerplate code 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 common methods that are available on all Tkinter widgets.

We also saw the benefits of writing programs that use convention over configuration to ease the logical flow of the program.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required