Jak dodać wiele poleceń do przycisku Tkinter
all_commands = lamba: [func1(), func2()]
button = Button(window, text="This is a button", command=all_commands)
Witty Wallaby
all_commands = lamba: [func1(), func2()]
button = Button(window, text="This is a button", command=all_commands)
all_commands = lambda: [func1(), func2()]
button = Button(window, text="This is a button", command=all_commands)