cfgWindow.py 文件源码

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

项目:serialplot 作者: crxguy52 项目源码 文件源码
def __init__(self, parent, controller):

        ttk.Notebook.__init__(self, parent)
        self.controller = controller

        datalist = list(range(1,7))
        datalist.insert(0,'-')

        #Create the pages
        serialcfgframe = SerialTab(self, self.controller)
        datacfgframe = DataTab(self, self.controller)
        graph1frame = GraphTab(self, self.controller, 1)
        graph2frame = GraphTab(self, self.controller, 2)
        graph3frame = GraphTab(self, self.controller, 3)

        #Add them to the notebook
        self.add(datacfgframe, text='Data')            
        self.add(serialcfgframe, text='Serial')
        self.add(graph1frame, text='Graph 1')
        self.add(graph2frame, text='Graph 2')
        self.add(graph3frame, text='Graph 3')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号