'Destroy this widget and possibly its associated variable.'

def destroy(self):

    try:
        self._variable.trace_vdelete('w', self.__tracecb)
    except AttributeError:
        pass
    else:
        del self._variable
        Frame.destroy(self)
