Destroy this and all descendants widgets.
(self)
| 2650 | k.configure(self, v) |
| 2651 | |
| 2652 | def destroy(self): |
| 2653 | """Destroy this and all descendants widgets.""" |
| 2654 | for c in list(self.children.values()): c.destroy() |
| 2655 | self.tk.call('destroy', self._w) |
| 2656 | if self._name in self.master.children: |
| 2657 | del self.master.children[self._name] |
| 2658 | Misc.destroy(self) |
| 2659 | |
| 2660 | def _do(self, name, args=()): |
| 2661 | # XXX Obsolete -- better use self.tk.call directly! |