Tkinter is Python’s standard GUI (Graphical User Interface) package. It is one of the most commonly used package for GUI applications which comes with the Python itself.
Menus are the important part of any GUI. A common use of menus is to provide convenient access to various operations such as saving or opening a file, quitting a program, or manipulating data. Toplevel menus are displayed just under the title bar of the root or any other toplevel windows.
menu = Menu(master, **options)
Below is the implementation:
Note: In above application, commands are set to None but one may add different commands to different labels to perform the required task.
- Python | PanedWindow Widget in Tkinter
- Progressbar widget in Tkinter | Python
- Tkinter | Adding style to the input text using ttk.Entry widget
- Python | Spinner widget in kivy
- Python | Slider widget in Kivy
- Python | Slider widget using .kv file
- Python | Scrollview widget in kivy
- Python | Switch widget in Kivy
- Python | Popup widget in Kivy
- Python | Checkbox widget in Kivy
- Python | Carousel Widget In Kivy
- Python | Add image widget in Kivy
- Python | BoxLayout widget in Kivy
- Python | Textinput widget in kivy
- Python | Progress Bar widget in kivy
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.