Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

tkinter button command with arguments

# One way is to use lambda
button = tk.Button(root, text="Button", command=lambda: func(args))
 
PREVIOUS NEXT
Tagged: #tkinter #button #command #arguments
ADD COMMENT
Topic
Name
4+4 =