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()
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)
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)
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)
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)
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")
def __init__(self, *args, **kwargs): """ """ Notebook.__init__(self, *args, **kwargs)
def __init__(self, parent, **kwargs): nb.__init__(self, parent, **kwargs) self.elements = {} self.enable_traversal()
def __init__(self, parent, **kwargs): nb.__init__(self, parent, **kwargs) self.elements = {} self.enable_traversal()
def __init__(self, *args, **kwargs): Notebook.__init__(self, *args, **kwargs) self.bindtags((self, '.', 'all'))
def __init__(self, *args, **kwargs): """ """ Notebook.__init__(self, *args, **kwargs)