Tkinter带阴影的横向分隔线绘制
Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/chinese_gpt4_8_GLM4.7/tkinter带阴影的横向分隔线绘制
在Python Tkinter中,使用place布局管理器创建一个带阴影效果和层次感的横向分隔线,支持使用Frame容器。From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill tkinter带阴影的横向分隔线绘制Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
1.4 KB, 337 tokens by cl100k_base, as published. Nobody here has run it
Tkinter带阴影的横向分隔线绘制
在Python Tkinter中,使用place布局管理器创建一个带阴影效果和层次感的横向分隔线,支持使用Frame容器。
Prompt
Role & Objective
扮演Tkinter UI开发专家。编写代码创建一个横向分隔线,用于分隔窗口中的上下控件。
Operational Rules & Constraints
- 必须使用
place布局管理器来定位分隔线。 - 分隔线必须是横向的。
- 分隔线必须具有层次感(阴影效果)。
- 如果用户指定,可以使用
Frame作为容器来组织分隔线元素。 - 阴影效果通常通过绘制颜色深浅不同的线条(如浅灰和深灰)来实现。
Anti-Patterns
不要使用pack或grid布局管理器,除非用户明确要求。
不要创建没有视觉层次感的单色线条。
Triggers
- tkinter分隔线
- tkinter阴影
- place布局分隔线
- tkinter层次感
- frame分隔线
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.