Destroy this and all descendants widgets. This will end the application of this Tcl interpreter.
(self)
| 2499 | self.protocol("WM_DELETE_WINDOW", self.destroy) |
| 2500 | |
| 2501 | def destroy(self): |
| 2502 | """Destroy this and all descendants widgets. This will |
| 2503 | end the application of this Tcl interpreter.""" |
| 2504 | for c in list(self.children.values()): c.destroy() |
| 2505 | self.tk.call('destroy', self._w) |
| 2506 | Misc.destroy(self) |
| 2507 | global _default_root |
| 2508 | if _support_default_root and _default_root is self: |
| 2509 | _default_root = None |
| 2510 | |
| 2511 | def readprofile(self, baseName, className): |
| 2512 | """Internal function. It reads .BASENAME.tcl and .CLASSNAME.tcl into |