Python Forum

Full Version: Binding functions to Menus in tkinter??
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
if it's to be used to open files, why not use built in filedialog?
http://effbot.org/tkinterbook/tkinter-file-dialogs.htm