Remove Labels and Find State Label in TKinter - Python Tutorial (2020) #18

preview_player
Показать описание
Tkinter supports a variety of methods to perform various tasks. It also offers some universal method.

destroy() is a universal widget method i.e we can use this method with any of the available widgets as well as with the main tkinter window.

From output you may see that both the widgets are destroyed after a certain time limit and only root window will be left empty.

#python2020 #tkintergui #madaboutpython #tkintertutorial #tkinterprojects #tkinterinpython #tkinterguitutorial
Рекомендации по теме
Комментарии
Автор

really helpfull thank you so much, i hope that you and your family have a great holiday

ha-tibas
Автор

Excelente video. Very good. Hello of Venezuela.

Henry_Nunez
Автор

But how you delete all labels at once?

Diumasas
Автор

It's showing error like-
Traceback (most recent call last):
File "C:\Users\hp\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py", line 1921, in __call__
return self.func(*args)
File "c:\Users\hp\python vs code\GUI_final.py", line 148, in dele
l3.destroy()
AttributeError: 'NoneType' object has no attribute 'destroy'

what should I do?

all.real.footages
Автор

Actually my doubt is that how I can delete all my labels at once ? Please reply me ...

samyaksancheti
Автор

Sir when i use (destroy()) it doesn’t work for me whyyy???

fayazshams-rdek
visit shbcf.ru