예제 #1
0
    def __init__(self, parent, user):
        Notebook.__init__(self, parent)

        self.pack(fill=BOTH, expand=1)

        for wid, workspace in user.workspaces.iteritems():
            widget = WorkspaceWidget(self, workspace)
            self.add(widget, text=workspace.name)

        checkIdleThread = IdleChecker(user)
        checkIdleThread.start()
예제 #2
0
 def __init__(self):
   self.parent = Tkinter.Tk()
   Notebook.__init__(self, self.parent)
   #self.parent.title('Quora Analytics')
   self.parent.title('Quora Backup and Analytics')
   self.parent.wm_title('Quora Backup and Analytics')
   self.parent.grid_rowconfigure(0, weight=1)
   self.parent.grid_columnconfigure(0, weight=1)
   self.parent.resizable(True, True)
   self.grid_rowconfigure(0, weight=1)
   self.grid_columnconfigure(0, weight=1)
   self.crawler = QuoraCrawler(driver=QuoraCrawler.CHROME_DRIVER)
   self._add_frames()
   self.pack(fill='both', expand=True)
예제 #3
0
 def __init__(self):
     self.parent = Tkinter.Tk()
     Notebook.__init__(self, self.parent)
     # self.parent.title('Quora Analytics')
     self.parent.title("Quora Backup and Analytics")
     self.parent.wm_title("Quora Backup and Analytics")
     self.parent.grid_rowconfigure(0, weight=1)
     self.parent.grid_columnconfigure(0, weight=1)
     self.parent.resizable(True, True)
     self.grid_rowconfigure(0, weight=1)
     self.grid_columnconfigure(0, weight=1)
     self.crawler = QuoraCrawler(driver=QuoraCrawler.CHROME_DRIVER)
     self._add_frames()
     self.pack(fill="both", expand=True)
예제 #4
0
    def __init__(self, master, page_names=None, **kw):
        """Constructor arguments:

        page_names -- A list of strings, each will be the dictionary key to a
        page's widget, and the name displayed on the page's tab. Should be
        specified in the desired page order. The first page will be the default
        and first active page. If page_names is None or empty, the
        TabbedPageSet will be initialized empty.
        """
        Notebook.__init__(self, master, **kw)

        self.pages = {}
        page_names = page_names or ()
        for name in page_names:
            self.add_page(name)
예제 #5
0
    def __init__(self, master, page_names=None, **kw):
        """Constructor arguments:

        page_names -- A list of strings, each will be the dictionary key to a
        page's widget, and the name displayed on the page's tab. Should be
        specified in the desired page order. The first page will be the default
        and first active page. If page_names is None or empty, the
        TabbedPageSet will be initialized empty.
        """
        Notebook.__init__(self, master, **kw)

        self.pages = {}
        page_names = page_names or ()
        for name in page_names:
            self.add_page(name)
예제 #6
0
파일: VTab.py 프로젝트: maeddlae/keepit
    def __init__(self, parent, log, actions):
        '''
        Constructor
        '''
        Notebook.__init__(self, parent)
        self = styleNotebook(self)

        self.log = log
        self.actions = actions
        self.vsearch = None
        self.ventries = {}
        self.tabIds = {}
        self.vsearchDrawn = False
        self.overview = None
        self.bind("<<NotebookTabChanged>>", self.tabChanged)
        self.log.add(self.log.Info, __file__, "init")
예제 #7
0
파일: notevi.py 프로젝트: yutzhead/vy
    def __init__(self, *args, **kwargs):
        """

        """

        Notebook.__init__(self, *args, **kwargs)
예제 #8
0
 def __init__(self, parent, **kwargs):
     nb.__init__(self, parent, **kwargs)
     self.elements = {}
     self.enable_traversal()
예제 #9
0
파일: guielements.py 프로젝트: rmtew/PyDA
 def __init__(self, parent, **kwargs):
     nb.__init__(self, parent, **kwargs)
     self.elements = {}
     self.enable_traversal()
예제 #10
0
 def __init__(self, *args, **kwargs):
     Notebook.__init__(self, *args, **kwargs)
     self.bindtags((self, '.', 'all'))
예제 #11
0
파일: notevi.py 프로젝트: joodicator/vy
    def __init__(self, *args, **kwargs):
        """

        """

        Notebook.__init__(self, *args, **kwargs)