示例#1
0
 def set_current_page(self, name):
     number = indexed_items(self._pages)[name]
     Notebook.set_current_page(self, number)
示例#2
0
 def remove_page(self, name):
     print self.pages
     number = indexed_items(self.pages)[name]
     self.nbook.remove_page(number)
     del self.pages[number]
示例#3
0
 def remove_page(self, name):
     number = indexed_items(self._pages)[name]
     Notebook.remove_page(self, number)
     del self._pages[number]
     self._set_pages()