how to give a button in tkinter 2 commands and order them code example
Example: how to add multiple commands to tkinter button
all_commands = lamba: [func1(), func2()]
button = Button(window, text="This is a button", command=all_commands)
all_commands = lamba: [func1(), func2()]
button = Button(window, text="This is a button", command=all_commands)