'Internal function.
Delete all Tcl commands created for
this widget in the Tcl interpreter.'

def destroy(self):

    if (self._tclCommands is not None):
        for name in self._tclCommands:
            self.tk.deletecommand(name)
        self._tclCommands = None
    return
