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!
In questa pagina del sito puoi guardare il video online New Transparent Widget Hack With Tkinter - Python Tkinter GUI Tutorial della durata di ore minuti seconda in buona qualità , che l'utente ha caricato John Elder 19 ottobre 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 53,437 volte e gli è piaciuto 831 spettatori. Buona visione!