Destroy this and all descendants widgets. This will end the application of this Tcl interpreter.
(self)
| 2573 | self.protocol("WM_DELETE_WINDOW", self.destroy) |
| 2574 | |
| 2575 | def destroy(self): |
| 2576 | """Destroy this and all descendants widgets. This will |
| 2577 | end the application of this Tcl interpreter.""" |
| 2578 | for c in list(self.children.values()): c.destroy() |
| 2579 | self.tk.call('destroy', self._w) |
| 2580 | Misc.destroy(self) |
| 2581 | global _default_root |
| 2582 | if _support_default_root and _default_root is self: |
| 2583 | _default_root = None |
| 2584 | |
| 2585 | def readprofile(self, baseName, className): |
| 2586 | """Internal function. It reads .BASENAME.tcl and .CLASSNAME.tcl into |