Jak ukryć widżet w Python Tkinter
# Creates label
widget = Label(window, width=5, height=6)
widget.pack()
# Hide label
widget.pack_forget()
Kaden Catabian
# Creates label
widget = Label(window, width=5, height=6)
widget.pack()
# Hide label
widget.pack_forget()
def grid_hide(widget):
widget._grid_info = widget.grid_info()
widget.grid_remove()
def grid_show(widget):
widget.grid(**widget._grid_info)
root.withdraw()