Python Forum
Binding functions to Menus in tkinter??
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Binding functions to Menus in tkinter??
#1
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.
Reply
#2
if it's to be used to open files, why not use built in filedialog?
http://effbot.org/tkinterbook/tkinter-file-dialogs.htm
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Key Binding scope angus1964 1 1,170 Jun-30-2022, 08:17 PM
Last Post: deanhystad
  kivy binding issue hammer 8 2,939 Nov-07-2021, 11:34 PM
Last Post: hammer
  [Tkinter] binding versus disable DPaul 6 6,599 May-05-2021, 05:17 PM
Last Post: DPaul
  [Tkinter] Redirecting all print statements from all functions inside a class to Tkinter Anan 1 2,598 Apr-24-2021, 08:57 AM
Last Post: ndc85430
Star Generating menus with classes Heyjoe 2 1,815 Feb-11-2021, 05:08 AM
Last Post: deanhystad
  Help with tkinter gui and functions Omer_ 0 1,494 Sep-22-2020, 11:43 AM
Last Post: Omer_
  [Tkinter] Binding Entry box to <Button-3> created in for loop iconit 5 4,876 Apr-22-2020, 05:47 AM
Last Post: iconit
  [Tkinter] tkinter issue with variables carrying over between functions PengEng 1 1,703 Apr-06-2020, 06:13 PM
Last Post: deanhystad
  TkInter Binding Buttons ifigazsi 5 4,165 Apr-06-2020, 08:30 AM
Last Post: ifigazsi
  Making text clickable with binding DT2000 10 5,031 Apr-02-2020, 10:11 PM
Last Post: DT2000

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020