Answers for "how to set 2 commands for one button in tkinter"

1

multiple functions tkinter

command=lambda:[funcA(), funcB(), funcC()]
Posted by: Guest on August-11-2020
0

how to add multiple commands to tkinter button

all_commands = lamba: [func1(), func2()]

button = Button(window, text="This is a button", command=all_commands)
Posted by: Guest on July-02-2020

Code answers related to "how to set 2 commands for one button in tkinter"

Python Answers by Framework

Browse Popular Code Answers by Language