how to get button press in tk inter

Solutions on MaxInterview for how to get button press in tk inter by the best coders in the world

showing results for - "how to get button press in tk inter"
Tyron
08 Jan 2019
1bn = Button(app, text="#Text you want to show in button bn",
2            command=lambda m="#Text you want to show when \
3            bn is clicked": which_button(m))
4            
5bn.grid(padx=10, pady=10)
similar questions
queries leading to this page
how to get button press in tk inter