parameters: (self)
docstring: Destroy this and all descendants widgets.
docstring_summary: Destroy this and all descendants widgets.
docstring_tokens: Destroy this and all descendants widgets .
function: def destroy(self):
          """Destroy this and all descendants widgets."""
          for c in self.children.values(): c.destroy()
          self.tk.call('destroy', self._w)
          if self._name in self.master.children:
              del self.master.children[self._name]
          Misc.destroy(self)
function_tokens: def destroy ( self ) : for c in self . children . values ( ) : c . destroy ( ) self . tk . call ( 'destroy' , self . _w ) if self . _name in self . master . children : del self . master . children [ self . _name ] Misc . destroy ( self )