I have a running in the background program that shows a notification window using Python tkinter. When this window opens, its icon appears on the taskbar and the user can right click on this icon > xxx.exe > and start the program over and over again. How can I prevent this?
If it is in the system tray, the user can easily terminate this program. I don’t want the user to terminate the program easily. Because this warning window is critical. But of course there is the possibility to go into the task manager and close it.
anonim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.