Using button functions with arguments in tkinter

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2022
  • 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-jangir 11 หลายเดือนก่อน

    Thank you sir. Really helpful video.❤🎉

  • @graffillk9614
    @graffillk9614 11 หลายเดือนก่อน

    Thank you a lot this really help me

  • @vishwanaathh7962
    @vishwanaathh7962 ปีที่แล้ว +1

    Thank you so much dude..

  • @prateekyadav9811
    @prateekyadav9811 2 หลายเดือนก่อน

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

  • @Mr99ZK
    @Mr99ZK 11 หลายเดือนก่อน +1

    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!