'Destroy this ``CanvasFrame``.  If this ``CanvasFrame`` created a
top-level window, then this will close that window.'

def destroy(self, *e):

    if (self._parent is None):
        return
    self._parent.destroy()
    self._parent = None
