首頁  >  問答  >  主體

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

天蓬老师天蓬老师2741 天前1335

全部回覆(1)我來回復

  • 黄舟

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

    設定show屬性為 headings 即可隱藏首列。

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

    回覆
    0
  • 取消回覆