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
评论列表
文章目录