Using button functions with arguments in tkinter

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

Комментарии • 10

  • @pan-ef7xg
    @pan-ef7xg 3 месяца назад

    is what i needed but not what I wanted thanks

  • @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 Год назад

    Thank you sir. Really helpful video.❤🎉

  • @vishwanaathh7962
    @vishwanaathh7962 Год назад +1

    Thank you so much dude..

  • @graffillk9614
    @graffillk9614 Год назад

    Thank you a lot this really help me

  • @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 5 месяцев назад

    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

  • @justinduim6093
    @justinduim6093 Год назад

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

  • @razuahmed1977
    @razuahmed1977 Месяц назад

    Or you can make a class which instance is callable.