Python Forum

Full Version: Program Functions Disabled
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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)