Using button functions with arguments in tkinter

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.พ. 2025

ความคิดเห็น •

  • @python_parallax
    @python_parallax 2 ปีที่แล้ว +2

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

  • @pan-ef7xg
    @pan-ef7xg 5 หลายเดือนก่อน

    is what i needed but not what I wanted thanks

  • @sonu-jangir
    @sonu-jangir ปีที่แล้ว +1

    Thank you sir. Really helpful video.❤🎉

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

    Thank you so much dude..

  • @AhmedArif310_1
    @AhmedArif310_1 22 วันที่ผ่านมา

    thanks dude!

  • @graffillk9614
    @graffillk9614 ปีที่แล้ว

    Thank you a lot this really help me

  • @justinduim6093
    @justinduim6093 2 ปีที่แล้ว

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

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

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

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

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

  • @StatusFreaks
    @StatusFreaks ปีที่แล้ว

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

  • @razuahmed1977
    @razuahmed1977 3 หลายเดือนก่อน

    Or you can make a class which instance is callable.