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!
На этой странице сайта вы можете посмотреть видео онлайн New Transparent Widget Hack With Tkinter - Python Tkinter GUI Tutorial длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь John Elder 19 Октябрь 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 53,437 раз и оно понравилось 831 зрителям. Приятного просмотра!