New Transparent Widget Hack With Tkinter - Python Tkinter GUI Tutorial

Published: 19 October 2020
on channel: John Elder
53,437
831

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!


On this page of the site you can watch the video online New Transparent Widget Hack With Tkinter - Python Tkinter GUI Tutorial with a duration of hours minute second in good quality, which was uploaded by the user John Elder 19 October 2020, share the link with friends and acquaintances, this video has already been watched 53,437 times on youtube and it was liked by 831 viewers. Enjoy your viewing!