How do I make a transparent window in Tkinter?
ryufire 0 Newbie Poster
Recommended Answers
Jump to Posthope you dont mind asking this in your thread, but does anyone know if there is a way to do this with wxpython? Thanks
For realistic transparency on a wxPython canvas see:
http://www.daniweb.com/forums/showthread.php?p=1207924#post1207924
Jump to PostHow do I make a transparent window in Tkinter?
I think you need version Tkinter 8.4 or higher ...
import Tkinter as tk root = tk.Tk() # use transparency level 0.1 to 1.0 (no transparency) root.attributes("-alpha", 0.3) root.mainloop()
All 5 Replies
TrustyTony 888 ex-Moderator Team Colleague Featured Poster
Dan08 8 Junior Poster
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
cgsig 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.