Objectives of this chapter
The purpose of this chapter is to make you comfortable with Tkinter. It aims at introducing you to the various components of GUI programming with Tkinter.
By the end of this chapter, you will have developed several partly-functional dummy applications, such as the one shown in the following screenshot:
We believe that the concepts that you will develop here will enable you to apply and develop GUI applications in your area of interest.
The key aspects that we want you to learn from this chapter include the following:
- Understanding the concept of a root window and a main loop
- Understanding widgets—the building blocks of programs
- Getting acquainted with a list of available widgets
- Developing layouts by using different geometry managers
- Applying events and callbacks to make a program functional
- Styling widgets by using styling options and configuring the root widget