I've looked at the tkinter documentation but am still confused as to how the -topmost option works when multiple Toplevels are open. A simple example:
from tkinter import Tk,Toplevel
root = Tk()
root.wm_title("Main Window")
root.geometry('1400x900')
top_window = Toplevel(root,bg="lightgray")
top_window.geometry('1400x900')
top_window.attributes('-topmost', 'true')
top_window.wm_title('Top Window 1')
top_window = Toplevel(root,bg="lightgray")
top_window.geometry('1400x900')
top_window.attributes('-topmost','true')
top_window.wm_title('Top Window 2')
root.mainloop()
Both Toplevel windows appear on top of the root, but the one labelled Top Window 1 is on top of the one labelled Top Window 2, which is not what I would expect. (Note: For my actual application, I'll be reusing the Toplevel's name over and over, which is why I used the name top_window twice.)