def _layout_basic(self):
"""
Defines the basic layout of the application.
"""
main = ttk.Notebook(self.gui)
main.pack(fill='both', expand='yes')
# create a child frame for each application pane
frames = (Frame(), Frame(), Frame(), Frame())
# add the pages to the handler
main.add(frames[0], text='Experimental Design')
main.add(frames[1], text='Simulate Datasets')
main.add(frames[2], text='Run Pipelines')
main.add(frames[3], text='Result Summary')
# Add the log handler.
log = ttk.Notebook(self.gui)
log.pack(fill='both', expand='yes')
log_frame = Frame()
log.add(log_frame, text='Log')
# ... and the logging console
self.console = Text(log_frame, name="console", height=10)
self.console.pack(side='bottom', anchor='sw', expand='yes', fill=BOTH)
return frames
评论列表
文章目录