1.11M Members

tkinter transparent window

 
0
 

How do I make a transparent window in Tkinter?

 
0
 

wm_attributes does not take keyword arguments. See issue1500773.

something like this should work, though:
self.top=Toplevel(master=self.parent)
self.top.wm_attributes('-alpha', 0.8)

from transparency in top level tk window

 
0
 

hope you dont mind asking this in your thread, but does anyone know if there is a way to do this with wxpython? Thanks

 
0
 

How 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()
Question Answered as of 3 Years Ago by vegaseat, Dan08 and pyTony
 
0
 

Can you only make the root level window transparent? Would it be possible to make a text widget visible, but it's parent window transparent?

You
This question has already been solved: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: