【发布时间】:2020-10-02 20:30:00
【问题描述】:
我想在行中居中文本。我将 tkinter 用于 GUI。我应该使用哪个代码以及在哪里使用?
tv1["column"]=list(pivot.columns)
tv1["show"] = "headings"
for column in tv1["columns"]:
tv1.heading(column, text = column)
pivot_rows = pivot.to_numpy().tolist()
for row in pivot_rows:
tv1.insert("","end", values=row)
【问题讨论】: