Exemple #1
0
 def remove_page(self, name):
     print self.pages
     number = indexed_items(self.pages)[name]
     self.nbook.remove_page(number)
     del self.pages[number]
Exemple #2
0
 def set_current_page(self, name):
     number = indexed_items(self._pages)[name]
     Notebook.set_current_page(self, number)
Exemple #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()
 def remove_page(self, name):
     print self.pages
     number = indexed_items(self.pages)[name]
     self.nbook.remove_page(number)
     del self.pages[number]
 def set_current_page(self, name):
     number = indexed_items(self._pages)[name]
     Notebook.set_current_page(self, number)
 def remove_page(self, name):
     number = indexed_items(self._pages)[name]
     Notebook.remove_page(self, number)
     del self._pages[number]
     self._set_pages()