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

  • @mr.salph9871
    @mr.salph9871 Жыл бұрын

    Thanks helped me a lot. I used to have so many problems like this but now they are solved and again Thanks

  • @sonu-jangir
    @sonu-jangir11 ай бұрын

    Thank you sir. Really helpful video.❤🎉

  • @graffillk9614
    @graffillk961411 ай бұрын

    Thank you a lot this really help me

  • @vishwanaathh7962
    @vishwanaathh7962 Жыл бұрын

    Thank you so much dude..

  • @prateekyadav9811
    @prateekyadav9811Ай бұрын

    I don't understand why we can't just use inner_func directly in the command parameter :/

  • @Mr99ZK
    @Mr99ZK11 ай бұрын

    Interesting, when I try to use lambda my antivirus program flags it as a suspicious script. I did not need it anyway.

  • @StatusFreaks
    @StatusFreaks Жыл бұрын

    button = Button(wn, text=str(i),width=5,command=lambda i=i:ClickButton(i)) Can you please explain this

  • @justinduim6093
    @justinduim6093 Жыл бұрын

    Ah first comment ;D... Thanks for the very well explained tutorials!