Home > other >  Tkinter filedialog function is used in the toplevel window, toplevel will sink below the root?
Tkinter filedialog function is used in the toplevel window, toplevel will sink below the root?

Time:10-09

As title, in the callback function of the root menu item, create new toplevel object, and using a GUI classes shows the toplevel window, the window "select directory" button, use the filedialog inquiry file directory, the problem is, a click on the "select directory" button, the selected directory window pops up, but the toplevel window will run under the root to maximize (root zoomed), how to return a responsibility excuse me? I hope from bottom to top is to maximize "root" - "toplevel" - "select directory", could you tell me how should deal with? Thank you all!
Ps: - topmost has tried, can make the toplevel cover "select directory", so first need not,
  • Related