Feb-14-2018, 10:32 PM
I am trying to display an image on the desktop that cannot be closed, or at least not without opening Task Manager.
I have a code that displays a frameless image, but it can easily be terminated with the task bar.I want to eliminate that possibility. If I can remove the task from the taskbar (sort of like "hiding the task") that would be even better (but if that's not possible then the first option is alright as well
)
I am using Python 3.5 by the way, maybe that's important
I have a code that displays a frameless image, but it can easily be terminated with the task bar.I want to eliminate that possibility. If I can remove the task from the taskbar (sort of like "hiding the task") that would be even better (but if that's not possible then the first option is alright as well

I am using Python 3.5 by the way, maybe that's important
from tkinter import Toplevel, Tk, Label, PhotoImage win = Tk() win.attributes('-alpha', 0.0) win.iconify() window = Toplevel(win) window.geometry("500x500+100+100") window.overrideredirect(1) photo = PhotoImage(file="test.png") label = Label(window, image=photo) label.pack() win.mainloop()