<!-- Warning! This file will be included in the wheel package. Please do not use relative paths. -->
# TtkText


Themed Tkinter Text widget with modern styling support.
## Features
- 🎨 Theme-aware text widget that automatically adapts to ttk themes
- 📜 Built-in ScrolledText component with vertical/horizontal scrollbars
- 🖥️ Native integration with ttk styles and themes
- 🔄 Dynamic theme switching support
## Quick Start
```python
from tkinter import Tk
from ttk_text import ThemedText
from ttk_text.scrolled_text import ScrolledText
root = Tk()
themed_text = ThemedText(root)
themed_text.pack(fill="both", expand=True)
scrolled_text = ScrolledText(root)
scrolled_text.pack(fill="both", expand=True)
root.mainloop()
```
## Screenshots
<div>
<img src="https://github.com/HelloTool/TtkText/raw/refs/heads/main/doc/images/screenshots/windows11.webp" alt="Windows 11" width="338.7">
<img src="https://github.com/HelloTool/TtkText/raw/refs/heads/main/doc/images/screenshots/windows10.webp" alt="Windows 10" width="337">
<img src="https://github.com/HelloTool/TtkText/raw/refs/heads/main/doc/images/screenshots/windows7.webp" alt="Windows 7" width="350.7">
</div>
Example screenshots of Windows 11, Windows 10, and Windows 7.
## Contributing
See [CONTRIBUTING.md](https://github.com/HelloTool/TtkText/blob/main/CONTRIBUTING.md) for details.
## License
This project is licensed under the MIT License, see the [LICENSE](https://github.com/HelloTool/TtkText/blob/main/LICENSE) file for details.
Raw data
{
"_id": null,
"home_page": null,
"name": "ttk-text",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "Jesse205 <jesse205@qq.com>",
"keywords": "ttk, ttk-text, tkinter, tkinter-text, tk, tk-text",
"author": null,
"author_email": "Jesse205 <jesse205@qq.com>",
"download_url": "https://files.pythonhosted.org/packages/60/6b/9a7d2f223a5bd4a89eb642b56c3a7c31d161a2e5b6b51f90884e2f77846e/ttk_text-0.2.1.tar.gz",
"platform": null,
"description": "<!-- Warning! This file will be included in the wheel package. Please do not use relative paths. -->\n\n# TtkText\n\n\n\n\nThemed Tkinter Text widget with modern styling support.\n\n## Features\n\n- \ud83c\udfa8 Theme-aware text widget that automatically adapts to ttk themes\n- \ud83d\udcdc Built-in ScrolledText component with vertical/horizontal scrollbars\n- \ud83d\udda5\ufe0f Native integration with ttk styles and themes\n- \ud83d\udd04 Dynamic theme switching support\n\n## Quick Start\n\n```python\nfrom tkinter import Tk\nfrom ttk_text import ThemedText\nfrom ttk_text.scrolled_text import ScrolledText\n\nroot = Tk()\nthemed_text = ThemedText(root)\nthemed_text.pack(fill=\"both\", expand=True)\n\nscrolled_text = ScrolledText(root)\nscrolled_text.pack(fill=\"both\", expand=True)\n\nroot.mainloop()\n```\n\n## Screenshots\n\n<div>\n<img src=\"https://github.com/HelloTool/TtkText/raw/refs/heads/main/doc/images/screenshots/windows11.webp\" alt=\"Windows 11\" width=\"338.7\">\n<img src=\"https://github.com/HelloTool/TtkText/raw/refs/heads/main/doc/images/screenshots/windows10.webp\" alt=\"Windows 10\" width=\"337\">\n<img src=\"https://github.com/HelloTool/TtkText/raw/refs/heads/main/doc/images/screenshots/windows7.webp\" alt=\"Windows 7\" width=\"350.7\">\n</div>\n\nExample screenshots of Windows 11, Windows 10, and Windows 7.\n\n## Contributing\n\nSee [CONTRIBUTING.md](https://github.com/HelloTool/TtkText/blob/main/CONTRIBUTING.md) for details.\n\n## License\n\nThis project is licensed under the MIT License, see the [LICENSE](https://github.com/HelloTool/TtkText/blob/main/LICENSE) file for details.\n",
"bugtrack_url": null,
"license": null,
"summary": "Themed Tkinter Text widget with modern styling support.",
"version": "0.2.1",
"project_urls": {
"Changelog": "https://github.com/Jesse205/TtkText/releases",
"Repository": "https://github.com/Jesse205/TtkText",
"Tracker": "https://github.com/Jesse205/TtkText/issues"
},
"split_keywords": [
"ttk",
" ttk-text",
" tkinter",
" tkinter-text",
" tk",
" tk-text"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2f5f1b6a0e3edf37cfd7cd1258fe06137f58c0de157168fe2bf2346d32610e09",
"md5": "99139568f25625dbe572a5e1ae6dc7b0",
"sha256": "9a0e72658ada27a952f34606e0ed5fba8445ee6f12219ba5cd9a6a2c26c7195c"
},
"downloads": -1,
"filename": "ttk_text-0.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "99139568f25625dbe572a5e1ae6dc7b0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 6747,
"upload_time": "2025-08-19T16:26:42",
"upload_time_iso_8601": "2025-08-19T16:26:42.202497Z",
"url": "https://files.pythonhosted.org/packages/2f/5f/1b6a0e3edf37cfd7cd1258fe06137f58c0de157168fe2bf2346d32610e09/ttk_text-0.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "606b9a7d2f223a5bd4a89eb642b56c3a7c31d161a2e5b6b51f90884e2f77846e",
"md5": "4ad7c151897a2234aa2e35ed03557ef1",
"sha256": "1c061d55e1514ce08417c633867f8265e629ed944936e8803cc664aad56910ab"
},
"downloads": -1,
"filename": "ttk_text-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "4ad7c151897a2234aa2e35ed03557ef1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 6038,
"upload_time": "2025-08-19T16:26:43",
"upload_time_iso_8601": "2025-08-19T16:26:43.261355Z",
"url": "https://files.pythonhosted.org/packages/60/6b/9a7d2f223a5bd4a89eb642b56c3a7c31d161a2e5b6b51f90884e2f77846e/ttk_text-0.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-19 16:26:43",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Jesse205",
"github_project": "TtkText",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "ttk-text"
}