how to set 2 commands for one button in tkinter code example
Example 1: multiple functions tkinter
command=lambda:[funcA(), funcB(), funcC()]
Example 2: how to add multiple commands to tkinter button
all_commands = lamba: [func1(), func2()]
button = Button(window, text="This is a button", command=all_commands)