Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to add multiple commands to tkinter button

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

button = Button(window, text="This is a button", command=all_commands)
 
PREVIOUS NEXT
Tagged: #add #multiple #commands #tkinter #button
ADD COMMENT
Topic
Name
9+8 =