python初学者021 发表于 2021-5-26 14:35:50

python ttk treeview中,如何改变一个column的背景、颜色等等

大家好,我用python的ttk treeview写了一个GUI的脚本

针对这个tree,我创建了2个column

我想单独改变column的颜色

但是我用了tree.tag_configure,确一口气改变了整个(2个column)的颜色

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZQAAAFJCAYAAAC8ZdtRAAAgAElEQVR4Ae2dB5QcxbWGx4ADBp7hOWBsgoHHscGYYLLIiIcx0SAwlsHkLJKJEjywECiBhIQQCIHIAqEMyhGBcg4gafNOjpuVBYL7zl9DjXpiz6x2Z6tXf5/T29Pd1VW3vltdf1dVb5er043/lKmzZ8r6ylLZsGEDVzJgGWAZcGwZWLZsqaxatZJrERm8PXyGvP7mGHmuxwvi6vVyf6n0eSTWWCsbNjRxJQOWAZYBx5aBRYsWysqVK7kWkcGKtSGZu3i99Hi2t7imzv1MGjZvlPpNjdLUxJUMWAZYBpxbBubNmycrViznWkQGS7/yyaKVpTJw4CBxlfiqpaapQcJ1UWlsbORKBiwDLAOOLQNz5syR5cuXcy0igxnzV8qchStl3CfjxeWri4o3HBRv2C+NjQ1qnb9ggXw6cWKLrHPnz0/Eq+PnNs6ZHMiBZaBly8CsWbNk2bJlXIvIYO7ydTJ3ySpZtGRhXFCiDXUSbaiRhoYGtU6bMUM+nvGlvDNx5S6tI6avkWkzZibi1fFzG+dMDuTAMtCyZWDatKmCgXmuxWOwaHWJzF6wWBYuXiAuT01YwnU1qsuroaFesE6eNk1uena8XNNtlFqvfXKUXPvk6CzrGLn2yTHy9wzrjd3Hy5Rp01WcOm5u44zJgRxYBlq+DEyZMlmWLl3KtYgMPl+0Qr5YuCTeQoGghGpjEqqNSH19nVohKE++Pkfu6zcl53p/v6mSvE6R+/thjR/v9tpnSlB0vNzG+ZIDObAMtE4ZmDDhU1m6dAnXPBl89tlnMnbsGME2lVuuc9awXyxcKjM/nyeLly6Kt1AyCYq00IIWipNvnnMvvEiOO/lUGTl6lKPz0Vo+KCYfn88rXR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xyiWzbtk2+++67xDGMocyePVtgz/z58zPayoMkQALJBMLhsPzwhz+U9evXJ58QUV1jFJQ0LAUfSBKUyiqvUYKC3OQSFVS4M2fOTGT68ssvl6eeeiqx379/f7npppsS+1ZBSRz8/gfOrV69OvVw0n6+goKL0ApZsWKFjBgxQu644w455ZRTpKSkRLVeYCeWpUuXygEHHCC6OwvHbrvtNnnkkUfUeeQvtfWBYz179pRDDjlEtPCowPxDAiSQlQAeys477zwlHJkCsYWSiUrhx5IEJRiIit+QLi9kJZeY4DwqV+sbT9ddd5288sorCQpDhgyRTp06JfatgoIuq5NPPllV/DiOJ5dZs2Ylwmb6UYigoE8WgoausuHDh8tjjz2m+nAhcP0wuZeIfPLJJ3LssccmJfXcc8/JPzAr5Pf5+/LLL5POI89oTaFvmAsJkIA9ga+//lquuOIK1e2MXoFMCwUlE5XCjyULSjDcpv8pbxUQ6+9s2WquoJSXl6vuMWtlffjhhye1djKliVZBvq8doxsNLREIht/vl0mTJknnzp3ld7/7XSKOfFooVsGETcgzurvQVdarV69MZvIYCZDA9wTQ+r/66qvVvQhhybZQULKRKex4sqD4A+L3+lQMbTkon4+YwMjmCsry5csFYxpbt25VecVbHkjT2n2WCeNJJ52kurAynUs9VlZWpsZDMCCPpampSXVv7bfffmrsBMfwtISB+O7duwsKO8ZDcB5dZVhS82c9hrEZDDDq1o66gH9IgAQSBHB/odfi/PPPl8bGRnW/4563tlIgODh29913y+23365+W7ugE5HxR14EjBOUfMUEuUutcAvp8sI4BSrziy++WLp27apaEnaCMnbsWNVFhjey0AKxW37961/LzTffnAgGQUJ61gXCc8EFF6hB/N///veClwX0kpo/HLceQ8sHgmV98UBfyy0J7O4E3G63elBEnWJdBwwYkECDMVfrOfx+4oknEuf5ozACSYIS8nklaEALpbAsMDQJkAAJkIAJBJIEJej1tKmgmACENpAACZAACTSPQJKghDy7t6CgCwlvfGVacc66FBLWeh1/kwAJkEB7JZAkKGyhtFc3M18kQAIk0PoEkgQlEsJrw233llfrZ5c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0clDfNXbSHBEiABMwlkCYodRKT8ggFxVyX0TISIAESMJNAmqAsWD9PKsJlylq2UMx0Gq0iARIgARMJpAnKOu9XUhmqULZSUEx0GW0iARIgATMJpAlKpCHMOeXN9BWtIgESIAGjCaQJSiDqF8zaiIUtFKN9R+NIgARIwCgCaYJSVVUlPh//U94oL9EYEiABEnAAgTRBaahrFL9357e8EIArGbAMsAywDLAM5FMGevToIbFYTDwej7j81QFprG9SWogTXMmAZYBlgGWAZaCQMrBo0SIJBoPiWrtqnVSWV4m7yiORSJgrGbAMsAywDLAM5F0GAoGARCIRwdY1csQoqaqopqCwAOVdgPjgwQcvlgGWAV0G3G63zJ49W0aNGiX/D52wA7Ptf3e0AAAAAElFTkSuQmCC我想单单更改 status这个column的颜色
也就是11 这个颜色

python初学者021 发表于 2021-5-26 14:40:07

我的代码:
#!/usr/bin/python3

import tkinter as tk

from tkinter import ttk

root = tk.Tk()
root.title(string = 'The example of ttk notebook')

root.geometry('400x300+200+200')

tabControl = ttk.Notebook(root)
tab1 = tk.Frame(tabControl, bg = 'blue', width = '400')
tabControl.add(tab1, text = 'information')

tab2 = tk.Frame(tabControl, bg = 'green')
tabControl.add(tab2, text = 'coding')

tab3 = tk.Frame(tabControl, bg = 'yellow')
tabControl.add(tab3, text = 'python')

ac=('tree_view','status')

tab4 = tk.Frame(tabControl)
tabControl.add(tab4, text = 'TCL')

tree = ttk.Treeview(tab1,columns=ac)
tree.column('#0',width = 300)
tree.column('#1',width = 100)
tree.heading('#0',text = 'tree head', anchor = 'w')
tree.heading('#1',text = 'status', anchor = 'w')

tree.tag_configure('Error',background='red')
tree.tag_configure('Warning', background='yellow',foreground='white')

myid = tree.insert("", 0, "mla_t", text="mal_t", open=True )

myidx1 = tree.insert(myid, 1, "mla_t_test", text="mla_t_test", values=("11"))

myidx2 = tree.insert(myid, 1, "mla_t_work", text="mla_t_work", values=("21"))

tree.pack(expand = 1, fill = 'both')

tree.item(myidx1, tags = ('Warning','Error'))

tabControl.pack(expand = 1, fill = 'both')

root.mainloop()

python初学者021 发表于 2021-5-26 14:41:23

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZUAAAFLCAYAAAAebxFkAAAgAElEQVR4Ae2dB5gUxdaGG5a0ZEyIWbleM+oVDJjF6zWBAVBRJEmQILtLRn4RUZKCIKKIIoqiSEZyFCM5q2Q25yWDYEDP/3w11Gzv7Mz0zLIz09P7zfP09kx3ddWp95yur6uqt9v4V53rpXGLZ2Xh8qWybc8OOXLkCBcyYAwwBqI2BtatWyubNm3kEkYGEyYtkQ8+mi6vD3xTjDv/96AMfmeE7ElNltxD++TIkcNcyIAxwBiI2hhYtWqlbNy4kUsYGWz4JVO+X71NBr42RIynWrWWhd9/Iwd/OyoHjh2Sw4e5kAFjgDEQvTHwww8/yIYN67mEkcHan1Nl1cYdMmrUaDHaxyfI9tREyTt8ULL258ihQ4e4kAFjgDEQtTGwYsUKWb9+PZcwMljy40ZZsXKjzJw9S4xOPXpK6v4cScnKkJSsNDl06KBafvzpJ/l67txiWb7/8Ud3vjp/rl2cyYEcGAPFGwPLli2TdevWcQkjg+/X/yrfr9kkq9asFKNDQjclKjkH90vOwTw5ePCgWhYtWSJfLdkqn8zdeFrL5MVbZNGSpe58df5cuziTAzkwBoo3BhYtWiiYrOcSPgarNm+X5T+tlpWrf3L1VJLzsiRrf54a/jp48IBgmb9okbR8bZY06TtVLU1fnipNX57mY5kuTV+eLk95WVoMmCULFi1Weeq8uXYxJgdyYAwUfwwsWDBf1q5dyyWMDL5dtUG+W7nG1VPB8BdEJXNfrmTuy5YDB/arBaLy8gcrpMvwBX6Xl4YvlILLAnlpOBbX9r7vf6NERefLtYsvOZADYyA0MTBnzteydu0aLgEy+Oabb2TGjOmCtSc3f/vMab9buVaWfvuDrF67Kr+n4k1UpJg+6KlE8wl09/0PSJ26N8uUaVOjuh6h8kE4+aSmpkjnuDi57e57lU+ebdm62HwSznoUty/CaXs4yyoKp1mzZsqaNWuCWiBEI0eOVAu+B3t8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XEqFxOSpUtJ0ZMGVddkSeYYinvZYFdpcG7jMBHpU75qZRhCBbli1KGgI1akDYW+RvK3o49E+SWBne77ChrSLlqFV1lVTFE1RP1u9IQ4yJDjAtM9cf+GobEnFPaxT7WkDKXG2JcYogBfjgOPqhgSEyMIWeVNqQi7ClnSK17L5JHRrV2+QPsqxhS2TDkDMOQCma7jdJiGOXFMGLFMCpJKaO8lDLKSNmKMWJUOxVv5xtyRvuqUnt4bTFQPmLQzKmiK3/Fr6whrTu3kmtvvsZVXzAADywx8HU5KWWUlRhVTtlTTF1c3fw0R71WNsLOU+lKG1KhSnmVZ2zVCirf0rGl5Ll2z8oN9a93lQtfgh9sM9uKuEYcYgG/c1zMKoEb4hT8wRZxjfjEOVf7VNyCNfKscCpO8R37kA+OufpUnCMPMEJZOG+rGhJzRYwrT+SLY+Bvo6yca5wvsUaMK1/4/3pTnsgXZVxWUYwzwS1WLYpzNUOad28ptzx6m6t+sAlxWtaQamdXcp0nMYZUPreq63tZQ2JrVXN9B1cdt8GuSxvS8qXmckX9f7nYoly9gB/OX/yubEjLbs3ltkdvdv2GH3S6U+cT4qycUV4qGbFqqWiUVW2eihXzuYjzsxRitLoYRuX8c+zU+aXaBOR56pimHZrJv++8TowzY8Q4s5QY55RxtaGV4d/ybt/UKGMI/B4DP2HfpRVc9scYUgl1QdygHcL5gwX+qWBIuVhDSoEhYhppqhtS9d5z5PGRbVU8GTXLqX3VjNJyllFaqpYp64qtu89T+VQ4+99iGGe4+J2FNh/nXhlXHCF2rjkVh4gdxJE7JmPyY/uicq6y0N7qeEa7UAVtUgWpbpwnNYzz5f8BHlSCFQLI/usAAAAASUVORK5CYII=

我跑出来的结果

我希望单单改变status这column的颜色
页: [1]
查看完整版本: python ttk treeview中,如何改变一个column的背景、颜色等等