In this video I'm going to show you a hack that will make any individual widget transparent with Tkinter and Python.
In the last video I showed you how to make an entire app transparent. In this video we'll use a different method to make individual widgets transparent using wm_attributes.
Start by setting a transparent color for our app:
root.wm_attributes('-transparentcolor', 'red')
Now, any widget that uses red will become transparent!
This is a VERY hacky method and it has a few drawbacks, which I'll discuss in the video...but strictly speaking...it works!
Nesta página do site você pode assistir ao vídeo on-line New Transparent Widget Hack With Tkinter - Python Tkinter GUI Tutorial duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário John Elder 19 Outubro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 53,437 vezes e gostou 831 espectadores. Boa visualização!