首页  >  问答  >  正文

python - tkinter treeview的两个问题:1.首列很宽 2.insert用法

天蓬老师天蓬老师2741 天前1331

全部回复(1)我来回复

  • 黄舟

    黄舟2017-04-17 16:56:31

    设置show属性为 headings 即可隐藏首列。

    ttk.Treeview(frame,height=18, show="headings", columns=('a','b','c','d','e','f'))

    回复
    0
  • 取消回复