Python Forum
Program Functions Disabled - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Program Functions Disabled (/thread-21114.html)



Program Functions Disabled - Doffer - Sep-14-2019

if i open another program full screen my program functions is disabled.My program is works normally on the desktop, but does not work functions in the background when you open a full-screen program.
How can i fix this problem?
I will add code this for fix this problem?

This is my program menu:
if __name__ == "__main__":
    global running
    running = True
    mainwindow = tk.Tk()
    mainwindow.config(bg="#20232A")
    mainwindow.title("Program")
    mainwindow.geometry('170x100-1+5')
    mainwindow.wm_attributes('-topmost', True)
    mainwindow.wm_attributes('-toolwindow', True)