如何更改组合框列表视图的样式?
这是到目前为止的部分代码:
style = ttk.Style()
style.configure("BW.TLabel", foreground="black", background="#20252b",
insertbackground="white", fieldbackground= 'blue')
optmn = ttk.Combobox(self, style="BW.TLabel")
optmn.place(x=140, y=200, width=150, height=25)
Run Code Online (Sandbox Code Playgroud)
如何访问组合框的列表视图的样式?
示例图像:
