Destroy this and all descendants widgets.
(self)
| 2779 | k.configure(self, v) |
| 2780 | |
| 2781 | def destroy(self): |
| 2782 | """Destroy this and all descendants widgets.""" |
| 2783 | for c in list(self.children.values()): c.destroy() |
| 2784 | self.tk.call('destroy', self._w) |
| 2785 | if self._name in self.master.children: |
| 2786 | del self.master.children[self._name] |
| 2787 | Misc.destroy(self) |
| 2788 | |
| 2789 | def _do(self, name, args=()): |
| 2790 | # XXX Obsolete -- better use self.tk.call directly! |