Destroy this and all descendants widgets.
(self)
| 2862 | k.configure(self, v) |
| 2863 | |
| 2864 | def destroy(self): |
| 2865 | """Destroy this and all descendants widgets.""" |
| 2866 | for c in list(self.children.values()): c.destroy() |
| 2867 | self.tk.call('destroy', self._w) |
| 2868 | if self._name in self.master.children: |
| 2869 | del self.master.children[self._name] |
| 2870 | Misc.destroy(self) |
| 2871 | |
| 2872 | def _do(self, name, args=()): |
| 2873 | # XXX Obsolete -- better use self.tk.call directly! |