Binding functions to Menus in tkinter?? - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: GUI (https://python-forum.io/forum-10.html) +--- Thread: Binding functions to Menus in tkinter?? (/thread-19985.html) |
Binding functions to Menus in tkinter?? - Mocap - Jul-23-2019 I want to create a drop down menu (For example, File > Open, etc.) that can be used to open files and upload/download data. Can someone either offer an explanation of how to do this or link me to a good tutorial? I know how to create the drop down menu in GUI itself, but I'm not sure how to actually find it with a function or algorithm that would allow it to open files or upload/download data. RE: Binding functions to Menus in tkinter?? - Larz60+ - Jul-23-2019 if it's to be used to open files, why not use built in filedialog? http://effbot.org/tkinterbook/tkinter-file-dialogs.htm |