functions calling upon creation tkinter fix

Solutions on MaxInterview for functions calling upon creation tkinter fix by the best coders in the world

showing results for - "functions calling upon creation tkinter fix"
Antony
01 Apr 2018
1Make your event handler a lambda function, which calls your command() - in this case get_dir()
2- with whatever arguments you want:
3
4xbBrowse = Button(frameN, text="Browse...", font=fontReg, command=lambda : self.get_dir(xbPath))