MCPcopy Index your code
hub / github.com/python/cpython / destroy

Method destroy

Lib/tkinter/__init__.py:2864–2870  ·  view source on GitHub ↗

Destroy this and all descendants widgets.

(self)

Source from the content-addressed store, hash-verified

2862 k.configure(self, v)
2863
2864 def destroy(self):
2865 """Destroy this and all descendants widgets."""
2866 for c in list(self.children.values()): c.destroy()
2867 self.tk.call('destroy', self._w)
2868 if self._name in self.master.children:
2869 del self.master.children[self._name]
2870 Misc.destroy(self)
2871
2872 def _do(self, name, args=()):
2873 # XXX Obsolete -- better use self.tk.call directly!

Callers

nothing calls this directly

Calls 4

listClass · 0.85
valuesMethod · 0.45
destroyMethod · 0.45
callMethod · 0.45

Tested by

no test coverage detected