MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / destroy

Method destroy

tools/python-3.11.9-amd64/Lib/tkinter/__init__.py:2652–2658  ·  view source on GitHub ↗

Destroy this and all descendants widgets.

(self)

Source from the content-addressed store, hash-verified

2650 k.configure(self, v)
2651
2652 def destroy(self):
2653 """Destroy this and all descendants widgets."""
2654 for c in list(self.children.values()): c.destroy()
2655 self.tk.call('destroy', self._w)
2656 if self._name in self.master.children:
2657 del self.master.children[self._name]
2658 Misc.destroy(self)
2659
2660 def _do(self, name, args=()):
2661 # XXX Obsolete -- better use self.tk.call directly!

Callers

nothing calls this directly

Calls 4

listFunction · 0.85
callMethod · 0.80
valuesMethod · 0.45
destroyMethod · 0.45

Tested by

no test coverage detected