When we designed our application, we picked out a widget class that most closely matched each field we needed. These were the Entry, Spinbox, Combobox, Checkbutton, and Text widgets. We also determined that we'd need the Button and LabelFrame widgets to implement the application layout. Before we start writing our class, let's take a look at each of these widgets.
Some of our widgets are in Tkinter, others are in the ttk themed widget set, and a few are in both libraries. We prefer the ttk versions wherever they exist, since they look better across platforms. Pay careful attention to the library from which we import each widget.