def eventViewerPlace(self):
eventViewerFrame = ttk.Frame(self)
eventViewerFrame.pack(in_=self, side='top',fill='both', expand='Y')
self.eventMainView = ttk.Notebook(eventViewerFrame, name='notebook')
#Event Tab Text Box - Tab 0
tab0 = ttk.Frame(self.eventMainView)
self.eventMainView.add(tab0, text="Tasks")
self.eventMainView.pack(fill='both', expand=Y, side='top')
self.eventsBox = Text(tab0, wrap=WORD, width=40, height=10)
self.eventsBox.pack(fill=BOTH, expand=Y)
#self.eventsBox.config(state=DISABLED)
#Note Tab Text Box - Tab 1
tab1 = ttk.Frame(self.eventMainView)
self.eventMainView.add(tab1, text="Notes")
self.eventMainView.pack(fill='both', expand=Y, side='top')
self.notesBox = Text(tab1, wrap=WORD, width=40, height=10)
vscroll = ttk.Scrollbar(tab1, orient=VERTICAL, command=self.notesBox.yview)
self.notesBox['yscroll'] = vscroll.set
vscroll.pack(side=RIGHT, fill=Y)
self.notesBox.pack(fill=BOTH, expand=Y)
评论列表
文章目录