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

Method destroy

Lib/tkinter/__init__.py:682–690  ·  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

680 _tclCommands = None
681
682 def destroy(self):
683 """Internal function.
684
685 Delete all Tcl commands created for
686 this widget in the Tcl interpreter."""
687 if self._tclCommands is not None:
688 for name in self._tclCommands:
689 self.tk.deletecommand(name)
690 self._tclCommands = None
691
692 def deletecommand(self, name):
693 """Internal function.

Callers

nothing calls this directly

Calls 1

deletecommandMethod · 0.80

Tested by

no test coverage detected