Using button functions with arguments in tkinter
This video covers how to use functions in buttons with arguments. If you understand functions well, or can use lambda functions, you can probably skip this video.
You can get the code here: github.com/clear-code-project...
Пікірлер: 8
Thanks helped me a lot. I used to have so many problems like this but now they are solved and again Thanks
Thank you sir. Really helpful video.❤🎉
Thank you a lot this really help me
Thank you so much dude..
I don't understand why we can't just use inner_func directly in the command parameter :/
Interesting, when I try to use lambda my antivirus program flags it as a suspicious script. I did not need it anyway.
button = Button(wn, text=str(i),width=5,command=lambda i=i:ClickButton(i)) Can you please explain this
Ah first comment ;D... Thanks for the very well explained tutorials!