问题 I have a python program that has no windows frame and doesn't show up in the taskbar because of self.overrideredirect(1) . This program has an options menu (a top level widget) that allows for the alpha to be adjusted with self.attributes("-alpha", 0.85) . However when I close out of the options menu my program shows up in the task bar. Obviously I don't want it to do this. I tried invoking the self.overrideredirect(1) command after the options menu was closed, but to no avail. Does anyone