Can the auto-placement of tkinter windows be turned off?
Can the auto-placement of tkinter windows be turned off? Question: I have this very basic code from tkinter import * class GUI(Tk): def __init__(self): super().__init__() self.geometry(‘600×400’) Button(self, text="Show new window", command=self.show_window).pack() def show_window(self): smallwin = display() class display(Toplevel): def __init__(self): super().__init__() self.geometry(‘300×300+30+30’) self.attributes(‘-topmost’,True) root = GUI() root.mainloop() When you click on the button, a child …