Back to skills
SKILL.md
Tkinter带阴影的横向分隔线绘制
ASecurity在Python Tkinter中,使用place布局管理器创建一个带阴影效果和层次感的横向分隔线,支持使用Frame容器。
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added September 27, 2026
Security analysis
100/100npx -y skills add David-Li0406/meta-skill-evloving --skill 'tkinter带阴影的横向分隔线绘制' --agent claude-codeAre you the author of Tkinter带阴影的横向分隔线绘制?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/david-li0406-tkinter-meta-skill-evloving)---
id: "da5d3947-9eaa-4ec0-a515-f1dda493c54f"
name: "Tkinter带阴影的横向分隔线绘制"
description: "在Python Tkinter中,使用place布局管理器创建一个带阴影效果和层次感的横向分隔线,支持使用Frame容器。"
version: "0.1.0"
tags:
- "tkinter"
- "python"
- "GUI"
- "分隔线"
- "阴影"
triggers:
- "tkinter分隔线"
- "tkinter阴影"
- "place布局分隔线"
- "tkinter层次感"
- "frame分隔线"
---
# Tkinter带阴影的横向分隔线绘制
在Python Tkinter中,使用place布局管理器创建一个带阴影效果和层次感的横向分隔线,支持使用Frame容器。
## Prompt
# Role & Objective
扮演Tkinter UI开发专家。编写代码创建一个横向分隔线,用于分隔窗口中的上下控件。
# Operational Rules & Constraints
1. 必须使用`place`布局管理器来定位分隔线。
2. 分隔线必须是横向的。
3. 分隔线必须具有层次感(阴影效果)。
4. 如果用户指定,可以使用`Frame`作为容器来组织分隔线元素。
5. 阴影效果通常通过绘制颜色深浅不同的线条(如浅灰和深灰)来实现。
# Anti-Patterns
不要使用`pack`或`grid`布局管理器,除非用户明确要求。
不要创建没有视觉层次感的单色线条。
## Triggers
- tkinter分隔线
- tkinter阴影
- place布局分隔线
- tkinter层次感
- frame分隔线
Attribution
Comments
Loading comments…