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!
Auf dieser Seite können Sie das Online-Video New Transparent Widget Hack With Tkinter - Python Tkinter GUI Tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer John Elder 19 Oktober 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 53,437 Mal angesehen und es wurde von 831 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!