metlab.py 文件源码

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

项目:metlab 作者: norling 项目源码 文件源码
def __init__(self, parent, title="", *args, **options):
        Frame.__init__(self, parent, *args, **options)

        header = Frame(self, bg="white")
        Label(header, text=title, font=("Helvetica", 16)).pack(side='top', anchor='nw', pady=4)
        header.pack(side="top", anchor="nw", fill=X)

        self.info = Frame(self)
        self.info_label = StringVar()
        Label(self.info, textvar=self.info_label).pack(side="top")
        self.info.pack(side="right", anchor="nw", fill=BOTH)

        self.list = Frame(self)
        self.list.pack(side="left", anchor="nw", fill=BOTH)

        self.info_frames = {}
        self.active_item = None
        self.active_info = None
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号