# Learning Python- Intermediate course: Day 20, Tkinter — Types of Widgets part 3

Originally published on the dev.to platform here

# Today let us finish off with the remaining Tkinter widgets


# Summary of the week

This week we learnt about Tkinter. We also checked out the various widgets supported by Tkinter. Today let us finish of the remaining widgets.

# Types of widgets in Tkinter continued..........

  • menu The Menu widget is used to create various types of menus in the python application. The types of menus include top level, pull down, and pop up

image
image

  • message The message widget is used to display a message in the application. It looks similar to the label widget.

image
image

  • Toplevel This widget is used to make a pop-up like effect. It creates another window. It can be used to represent some extra info. This window is managed internally by the system. (Window manager in Windows)

image
image

In this program, clicking on the open buttons activates the Toplevel widgets and creates another blank window.

image
image

image
image

Closing the main application window closes all windows.

  • spinbox Spinbox is a less attractive version of the slider widget. Again, It is useful over the Entry widget when the user is forced to select only one value from the given range of values.

image
image

We can also type in the spinbox.

image
image

  • panelWindow The PanedWindow widget is a resizable frame widget. It contains one or more child widgets arranged horizontally or vertically. Unlike the frame widget, child widgets can be resized by the user, by moving the separator lines. These separator lines are called as sashes.

image
image

image
image

  • LabelFrame LabelFrame is also a type of frame, but we can add borders to the widgets.

image
image

  • MessageBox The messagebox module is used to display the message boxes in the python applications. It is a kind of alert in the application.

image
image

image
image


Image credits- All images in the text are my own screenshots.


🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥 Follow me on GitHub for updates.......