Exemple #1
0
    def __init__(self):
        Notebook.__init__(self)

        self.popup_enable()
        self.set_scrollable(True)
        self.set_border_width(2)

        self.documentCount = 1
Exemple #2
0
    def __init__(self, *args, **kwargs):
        Notebook.__init__(self, *args, **kwargs)

        # List of vte.Terminal widgets, it will be useful when needed
        # to get a widget by the current page in self.notebook
        self.term_list = []

        # This is the pid of shells forked by each terminal. Will be
        # used to kill the process when closing a tab
        self.pid_list = []
Exemple #3
0
 def __init__(self):
     Notebook.__init__(self)
     self.show()
     self._pages = []
     self._set_pages()
 def __init__(self):
     Notebook.__init__(self)
     self.show()
     self._pages = []
     self._set_pages()