Tkinter defines a concept called options database, a mechanism used to customize the appearance of the application without having to specify it for each widget. It allows you to decouple some widget options from the individual widget configuration, providing standardized defaults based on the widget hierarchy.
Using the options database
Getting ready
In this recipe, we will build an application with several widgets that have different styling, which will be defined in the options database:
How to do it...
In our example, we will add some options to the database through...