overlay
overlay copied to clipboard
Linux: bad attribute "-transparent": must be -alpha, -topmost, -zoomed, -fullscreen, or -type
it almost works!
when I comment out window.py, line 63, it works! but it's not transparent.
If you can fix this, the package will probably be good on Linux. I admit that this is literally my first ever windowed application, so I don't have the skills to fix it myself.
also here's my relevant bit of code.
win = Window()
label = tk.Label(win.root, text="sigmar.py")
label.pack()
Window.launch()
(there's a bonus point available if you can figure out what i'm messing with)
I only tried this code: from overlay import Window
win = Window() Window.launch()
and first I did it in the terminal, and got a white square window, which didn't seem transparent. Then I made a script with the exact same code, and got the same error as you. So I changed "transparent" in Window.py to "alpha" and added "import tkinter as tk" into my script, after that it worked too.
I suspect it doesn't have to be alpha, was just the parameter I chose.