def body(self, master):
self.tree = ttk.Treeview(master, columns=self.columns)
self.tree.pack(side="left", fill="both", expand=True)
for item in self.headings:
self.tree.heading(item, text=self.headings[item].get("text", ""))
self.tree.column(item, width=self.headings[item].get("width", 100), stretch=self.headings[item].get("stretch", True))
评论列表
文章目录