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

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.


This content originally appeared on DEV Community and was authored by Aatmaj

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

  • message
    The message widget is used to display a message in the application. It looks similar to the label widget.
    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
    In this program, clicking on the open buttons activates the Toplevel widgets and creates another blank window.
    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
    We can also type in the spinbox.
    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

  • LabelFrame
    LabelFrame is also a type of frame, but we can add borders to the widhets.
    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 credits- All images in the text are my own screenshots.

???????????????????????????????
Follow me on GitHub for updates.......


This content originally appeared on DEV Community and was authored by Aatmaj


Print Share Comment Cite Upload Translate Updates
APA

Aatmaj | Sciencx (2021-09-03T08:00:57+00:00) Learning Python- Intermediate course: Day 20, Tkinter — Types of Widgets part 3. Retrieved from https://www.scien.cx/2021/09/03/learning-python-intermediate-course-day-20-tkinter-types-of-widgets-part-3/

MLA
" » Learning Python- Intermediate course: Day 20, Tkinter — Types of Widgets part 3." Aatmaj | Sciencx - Friday September 3, 2021, https://www.scien.cx/2021/09/03/learning-python-intermediate-course-day-20-tkinter-types-of-widgets-part-3/
HARVARD
Aatmaj | Sciencx Friday September 3, 2021 » Learning Python- Intermediate course: Day 20, Tkinter — Types of Widgets part 3., viewed ,<https://www.scien.cx/2021/09/03/learning-python-intermediate-course-day-20-tkinter-types-of-widgets-part-3/>
VANCOUVER
Aatmaj | Sciencx - » Learning Python- Intermediate course: Day 20, Tkinter — Types of Widgets part 3. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/09/03/learning-python-intermediate-course-day-20-tkinter-types-of-widgets-part-3/
CHICAGO
" » Learning Python- Intermediate course: Day 20, Tkinter — Types of Widgets part 3." Aatmaj | Sciencx - Accessed . https://www.scien.cx/2021/09/03/learning-python-intermediate-course-day-20-tkinter-types-of-widgets-part-3/
IEEE
" » Learning Python- Intermediate course: Day 20, Tkinter — Types of Widgets part 3." Aatmaj | Sciencx [Online]. Available: https://www.scien.cx/2021/09/03/learning-python-intermediate-course-day-20-tkinter-types-of-widgets-part-3/. [Accessed: ]
rf:citation
» Learning Python- Intermediate course: Day 20, Tkinter — Types of Widgets part 3 | Aatmaj | Sciencx | https://www.scien.cx/2021/09/03/learning-python-intermediate-course-day-20-tkinter-types-of-widgets-part-3/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.