MCPcopy Index your code
hub / github.com/RustPython/RustPython / destroy

Method destroy

Lib/tkinter/__init__.py:2781–2787  ·  view source on GitHub ↗

Destroy this and all descendants widgets.

(self)

Source from the content-addressed store, hash-verified

2779 k.configure(self, v)
2780
2781 def destroy(self):
2782 """Destroy this and all descendants widgets."""
2783 for c in list(self.children.values()): c.destroy()
2784 self.tk.call('destroy', self._w)
2785 if self._name in self.master.children:
2786 del self.master.children[self._name]
2787 Misc.destroy(self)
2788
2789 def _do(self, name, args=()):
2790 # 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