'Destroy the page whose name is given in page_name.'

def remove_page(self, page_name):

    if (page_name not in self.pages):
        raise KeyError(("No    such    TabPage:    '%s" % page_name))
    self._pages_order.remove(page_name)
    if (len(self._pages_order) > 0):
        if (page_name == self._default_page):
            self._default_page = self._pages_order[0]
    else:
        self._default_page = None
    if (page_name == self._current_page):
        self.change_page(self._default_page)
    self._tab_set.remove_tab(page_name)
    page = self.pages.pop(page_name)
    page.frame.destroy()
    return
