metlab.py 文件源码

python
阅读 15 收藏 0 点赞 0 评论 0

项目:metlab 作者: norling 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号