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 | Slider widget using .kv file
- Python | Spinner widget in kivy
- Python | Checkbox widget in Kivy
- Python | Add image widget in Kivy
- Python | BoxLayout widget in Kivy
- Python | Slider widget in Kivy
- Python | Switch widget in Kivy
- Python | Carousel Widget In Kivy
- Python | Popup widget in Kivy
- Python | Switch widget in Kivy using .kv file
- Python | Carousel Widget In Kivy using .kv file
- Python | Spinner widget in Kivy using .kv file
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. 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.