是否可以使ttk Notebook
上的标签周围的边框变粗? ttk
(找到Amazon's sample events page)的文档列出了以下关键字:
在许多标准relief
小部件上,是否有一种方法可以获取类似于tkinter
的参数?这是我的示例代码:
import tkinter.ttk as ttk
from tkinter import Tk, Label
root = Tk ()
notebook = ttk.Notebook (root)
notebook.add (Label (notebook, text = "Page 1 content."), text = "Page 1")
notebook.add (Label (notebook, text = "Page 2 content."), text = "Page 2")
notebook.add (Label (notebook, text = "Page 3 content."), text = "Page 3")
notebook.pack ()
root.mainloop ()
非常感谢。