79601737

Date: 2025-05-01 11:02:56
Score: 1.5
Natty:
Report link

Is it possible to create a Toplevel window in tkinter that is initially withdrawn without flashing

Yes. You can add the argument top.deiconify and use root.after().

snippet:

def dlg():
    top = tk.Toplevel(root)
    top.withdraw()
    # do more stuff and later deiconify top
    top.after(1000, top.deiconify)
Reasons:
  • Blacklisted phrase (1): Is it possible to
  • Has code block (-0.5):
  • Starts with a question (0.5): Is it
  • Low reputation (0.5):
Posted by: Adios Gringo