def __init__(self, parent, *args, **kwargs):
ttk.Treeview.__init__(self, parent, selectmode="browse", columns=["File Extension",
"Date Modified",
"File Type",
"Compress Type",
"Comment",
"Extra",
"Create System",
"Create Version",
"Extract Version",
"Reserved",
"Flag Bits",
"Volume",
"Internal Attr",
"External Attr",
"Header Offset",
"CRC",
"Compress Size",
"File Size",
"Filler"], *args, **kwargs)
self.heading("#0", text="File Name")
self.column("#0", width=200, stretch=False)
self.heading("#1", text="File Extension")
self.column("#1", width=80, stretch=False)
self.heading("#2", text="Date Modified")
self.column("#2", width=100, stretch=False)
self.heading("#3", text="File Type")
self.column("#3", width=80, stretch=False)
self.heading("#4", text="Compress Type")
self.column("#4", width=100, stretch=False)
self.heading("#5", text="Comment")
self.column("#5", width=80, stretch=False)
self.heading("#6", text="Extra")
self.column("#6", width=60, stretch=False)
self.heading("#7", text="Create System")
self.column("#7", width=100, stretch=False)
self.heading("#8", text="Create Version")
self.column("#8", width=100, stretch=False)
self.heading("#9", text="Extract Version")
self.column("#9", width=100, stretch=False)
self.heading("#10", text="Reserved")
self.column("#10", width=100, stretch=False)
self.heading("#11", text="Flag Bits")
self.column("#11", width=100, stretch=False)
self.heading("#12", text="Volume")
self.column("#12", width=100, stretch=False)
self.heading("#13", text="Internal Attr")
self.column("#13", width=100, stretch=False)
self.heading("#14", text="External Attr")
self.column("#14", width=100, stretch=False)
self.heading("#15", text="Header Offset")
self.column("#15", width=100, stretch=False)
self.heading("#16", text="CRC")
self.column("#16", width=100, stretch=False)
self.heading("#17", text="Compress Size")
self.column("#17", width=90, stretch=False)
self.heading("#18", text="File Size")
self.column("#18", width=70, stretch=False)
self.column("#19", width=1)
评论列表
文章目录