tkinter pass multiple commands to one button code example
Example 1: multiple functions tkinter
command=lambda:[funcA(), funcB(), funcC()]
Example 2: python tkinter button multiple commands
pythonCopy def combineFunc(self, *funcs):
def combinedFunc(*args, **kwargs):
for f in funcs:
f(*args, **kwargs)
return combinedFunc