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

Method destroy

Lib/tkinter/__init__.py:700–708  ·  view source on GitHub ↗

Internal function. Delete all Tcl commands created for this widget in the Tcl interpreter.

(self)

Source from the content-addressed store, hash-verified

698 _tclCommands = None
699
700 def destroy(self):
701 """Internal function.
702
703 Delete all Tcl commands created for
704 this widget in the Tcl interpreter."""
705 if self._tclCommands is not None:
706 for name in self._tclCommands:
707 self.tk.deletecommand(name)
708 self._tclCommands = None
709
710 def deletecommand(self, name):
711 """Internal function.

Callers

nothing calls this directly

Calls 1

deletecommandMethod · 0.80

Tested by

no test coverage detected