Skip to content
  • Tutorials
    • c programming
      • libraries
    • c++
    • Linux
    • Python
    • batch programming
    • Technology
  • IDE
  • Tools
hide root window tkinter 1

hide root window tkinter

June 13, 2022June 3, 2022 by Anurag batra
root = tk.Tk()
# Hide it with .withdraw
root.withdraw()
# To reveal it again:
root.deiconify()

Here is what the above code is Doing:
1. It’s creating a Tkinter object called root.
2. It’s hiding the root window.
3. It’s revealing the root window.

Categories Python Examples
Post navigation
convert columns to rows pandas
python decrease gap between subplot rows
© MyEduKit - 2022 . All Rights Reserved.