Destroy this and all descendants widgets. This will end the application of this Tcl interpreter.
(self)
| 2381 | self.protocol("WM_DELETE_WINDOW", self.destroy) |
| 2382 | |
| 2383 | def destroy(self): |
| 2384 | """Destroy this and all descendants widgets. This will |
| 2385 | end the application of this Tcl interpreter.""" |
| 2386 | for c in list(self.children.values()): c.destroy() |
| 2387 | self.tk.call('destroy', self._w) |
| 2388 | Misc.destroy(self) |
| 2389 | global _default_root |
| 2390 | if _support_default_root and _default_root is self: |
| 2391 | _default_root = None |
| 2392 | |
| 2393 | def readprofile(self, baseName, className): |
| 2394 | """Internal function. It reads .BASENAME.tcl and .CLASSNAME.tcl into |