1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Python] Remove command from a button

Discussão em 'Python' iniciado por Stack, Outubro 3, 2024 às 11:22.

  1. Stack

    Stack Membro Participativo

    b1=Button(bla bla bla,command=run_something)

    b1.configure (command='')


    I want to remove the 'command' from a button so that if pressed nothing happens

    how would I do this?

    note: I did not use the b1.bind(<"button-1">) no I cant change it to this and then use b1.unbind

    Continue reading...

Compartilhe esta Página