)
#设置窗口大小和位置
root.geometry('500x300+400+300')
#不允许改变窗口大小
root.resizable(False, False)
#设置窗口标题
root.title...6列,显示表头,带垂直滚动条
tree = Treeview(frame,
columns=('c1', 'c2', 'c3',
'c4', 'c5...show="headings",
yscrollcommand=scrollBar.set)
#设置每列宽度和对齐方式...center')
tree.column('c5', width=100, anchor='center')
tree.column('c6', width=90, anchor='center')
#设置每列表头标题文本...组件与垂直滚动条结合
scrollBar.config(command=tree.yview)
#定义并绑定Treeview组件的鼠标单击事件
def treeviewClick(event):
pass