Internal function. Delete all Tcl commands created for this widget in the Tcl interpreter.
(self)
| 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. |
nothing calls this directly
no test coverage detected