Answers for "tkinter hide window"

2

hide root window tkinter

root = tk.Tk()
# Hide it with .withdraw
root.withdraw()
# To reveal it again:
root.deiconify()
Posted by: Guest on March-13-2020
0

tkinter hide widget

def grid_hide(widget):
  widget._grid_info = widget.grid_info()
  widget.grid_remove()

def grid_show(widget):
  widget.grid(**widget._grid_info)
Posted by: Guest on April-29-2021

Python Answers by Framework

Browse Popular Code Answers by Language