python - ttk notebook 加粗标签
问题描述
有没有办法让标签周围的边框ttk Notebook
更粗?ttk
(在此处找到)的文档列出了以下关键字:
- 状态
- 黏
- 填充
- 文本
- 图片
- 化合物
- 强调
有没有办法获得类似于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 ()
提前谢谢了。
解决方案
推荐阅读
- mongodb - dbpath中mongodb服务器数据文件和db中数据文件夹的区别
- ansible - 如何使用 ansible playbook 在目标服务器中启动服务
- python - 您如何在 Python 乌龟的每次迭代中增加 pensize?
- c# - 如何继续接受异步套接字上的数据?
- ruby-on-rails - Rails 中的强参数 - 忽略 Require 子句
- xslt - xsl 并用一个词进行标记
- php - PHP Ajax 实时搜索不会加载
- python - 添加矩阵python
- angular - 为什么我所有的图像都在 dist 文件夹而不是“asset”文件夹下
- r - head() 函数将所有结果附加到末尾