Now you will get to know all the core Tkinter widgets. You have already seen two of them in the previous example—the Label and Button widgets. Now, let's explore all the other core Tkinter widgets.
Tkinter includes 21 core widgets, which are as follows:
Top-level | Label | Button |
Canvas | Checkbutton | Entry |
Frame | LabelFrame | Listbox |
Menu | Menubutton | Message |
OptionMenu | PanedWindow | Radiobutton |
Scale | Scrollbar | Spinbox |
Text | Bitmap | Image |
Let's write a program to display all of these widgets in the root window.