On/Off Button Switch - Python Tkinter GUI Tutorial

Publicado em: 12 Janeiro 2021
no canal de: John Elder
27,406
525

In this video I'll show you how to create a fun little on/off button that will switch between on and off whenever you click on it.

For this video we'll be using two images, and on image and an off image. We'll use those images as the background of a button.

Then we'll create a Boolean (true/false) variable to keep track of whether the button has been clicked (True) or not (False).

Whenever we click the button we'll call a function that will change the Boolean variable from True to False or False to True and update the
image.


Nesta página do site você pode assistir ao vídeo on-line On/Off Button Switch - Python Tkinter GUI Tutorial duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário John Elder 12 Janeiro 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 27,406 vezes e gostou 525 espectadores. Boa visualização!