[Enhancement] explain LOOK_AND_FEEL_TABLE dictionary entry values in docs
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 48/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python
调研方向
查看 Cookbook 中的“修改主题 & 添加自定义主题”和“示例 - 添加自定义颜色主题”部分,以及现有的主题文档。记录 LOOK_AND_FEEL_TABLE 条目的含义和可接受的值,包括 ACCENT 键,并更新示例,使其反映可用的条目。
由索引模型根据 Issue 内容生成。
描述
Type of Issue (Enhancement, Error, Bug, Question)
Enhancement
Environment
Operating System
Windows version ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
PySimpleGUI Port (tkinter, Qt, Wx, Web)
tkinter
Versions
Python version (sg.sys.version)
3.8.6 (tags/v3.8.6:db45529, Sep 23 2020, 15:52:53) [MSC v.1927 64 bit (AMD64)]
PySimpleGUI Version (sg.__version__)
4.61.0.196
GUI Version (tkinter (sg.tclversion_detailed), PySide2, WxPython, Remi)
8.6.9
Your Experience In Months or Years (optional)
2 Years Python programming experience
2 Years Programming experience overall
No Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine)
Troubleshooting
These items may solve your problem. Please check those you've done by changing - [ ] to - [X]
- Searched main docs for your problem www.PySimpleGUI.org
- Looked for Demo Programs that are similar to your goal. It is recommend you use the Demo Browser! Demos.PySimpleGUI.org
- If not tkinter - looked for Demo Programs for specific port
- For non tkinter - Looked at readme for your specific port if not PySimpleGUI (Qt, WX, Remi)
- Run your program outside of your debugger (from a command line)
- Searched through Issues (open and closed) to see if already reported Issues.PySimpleGUI.org
- Upgraded to the latest official release of PySimpleGUI on PyPI
- Tried using the PySimpleGUI.py file on GitHub. Your problem may have already been fixed but not released
Detailed Description
The docs contain no explanation of the values you use to set your own themes, which should mimic the structure and keys of the other themes.
example:
"Material1": {
"BACKGROUND": "#E3F2FD",
"TEXT": "#000000",
"INPUT": "#86A8FF",
"TEXT_INPUT": "#000000",
"SCROLL": "#86A8FF",
"BUTTON": ("#FFFFFF", "#5079D3"),
"PROGRESS": DEFAULT_PROGRESS_BAR_COMPUTE,
"BORDER": 0,
"SLIDER_DEPTH": 0,
"PROGRESS_DEPTH": 0,
"ACCENT1": "#FF0266",
"ACCENT2": "#FF5C93",
"ACCENT3": "#C5003C",
}
Additionally, the examples shown in the Cookbook (Making Changes to Themes & Adding Your Own Themes; Recipe - Adding Your Own Color Theme) don't feature these "ACCENT" keys.
Code To Duplicate
# Paste your code here
Screenshot, Sketch, or Drawing
How did you find PySimpleGUI?
someone recommended me to this a few years ago
- 主要语言
- Python
- 星标
- 13.8k
- 派生
- 1.8k
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PySimpleGUI/PySimpleGUI 的其他 Issue
-
Bug Done - Install Dev Build (see docs for how) Platform Specific Issue - Linux Port - TK
难度 2/5 1-3 小时 新手友好度 68/100
PySimpleGUI/PySimpleGUI#6904 · 15 条评论 ·
-
Bug Demo Programs Done - Install Dev Build (see docs for how) Interoperability Port - TK workaround available
难度 2/5 1-3 小时 新手友好度 68/100
PySimpleGUI/PySimpleGUI#6900 · 1 条评论 ·
-
Done - Install Dev Build (see docs for how) enhancement
难度 2/5 1-3 小时 新手友好度 62/100
PySimpleGUI/PySimpleGUI#3251 · 12 条评论 ·
-
难度 3/5 1-2 天 新手友好度 74/100
PySimpleGUI/PySimpleGUI#6906 · 1 条评论 · 1 个 reaction ·
-
Bug Done - Install Dev Build (see docs for how) Port - TK
难度 3/5 1-2 天 新手友好度 45/100
PySimpleGUI/PySimpleGUI#6902 · 1 条评论 ·
查看 PySimpleGUI/PySimpleGUI 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
anthropics/skills#1811 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
speaches-ai/speaches#678 ·
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
datalayer/mcp-compose#42 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
conda-forge/spacy-feedstock#177 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
UKGovernmentBEIS/inspect_evals#2523 ·