I am trying to make a tkinter application which doesn't close everything (other windows) when the first window (root) is closed. I have tried to use Toplevel()
which works perfectly for pop-up windows in other programs but not for making a base level.
from tkinter import *
top = Toplevel(bg='red')
top.mainloop()
I don't know if this is possible or I don't know if I can change the Tk()
's properties to make it so it doesn't shut all other windows down.
Tk()
.Toplevel()
is used to create second window (subwindow/dialog/messagebox/etc.) – Terpsichorean