ttk-text


Namettk-text JSON
Version 0.2.2 PyPI version JSON
download
home_pageNone
SummaryThemed Tkinter Text widget with modern styling support.
upload_time2025-09-14 18:34:56
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords ttk ttk-text tkinter tkinter-text tk tk-text
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!-- Warning! This file will be included in the wheel package. Please do not use relative paths. -->

# TtkText

![Contributor Covenant 2.1](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)
![MIT License](https://img.shields.io/pypi/l/ttk-text)

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/fa/4b/9e1220c0727a2b3cf8c35501f67d9ef20109d0568c4f97ed89b274a95e74/ttk_text-0.2.2.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![Contributor Covenant 2.1](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)\n![MIT License](https://img.shields.io/pypi/l/ttk-text)\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.2",
    "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": "26f10a6ce106d4feb3626ffc39f5f02ffcf04bc514d5e33d355637c47563f666",
                "md5": "f26f92b09b56d9463be03cd71a6b9aeb",
                "sha256": "57ad204941514501a6072f838141a45aaefe19a91aa61577ade2726c30854ab2"
            },
            "downloads": -1,
            "filename": "ttk_text-0.2.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f26f92b09b56d9463be03cd71a6b9aeb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 6788,
            "upload_time": "2025-09-14T18:34:54",
            "upload_time_iso_8601": "2025-09-14T18:34:54.955016Z",
            "url": "https://files.pythonhosted.org/packages/26/f1/0a6ce106d4feb3626ffc39f5f02ffcf04bc514d5e33d355637c47563f666/ttk_text-0.2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fa4b9e1220c0727a2b3cf8c35501f67d9ef20109d0568c4f97ed89b274a95e74",
                "md5": "9738da610ff022ce16f5923bc2d8783d",
                "sha256": "c57b2e62a4659b5840268a749998693bd5d75431389e8f4519af44e24bde89a3"
            },
            "downloads": -1,
            "filename": "ttk_text-0.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "9738da610ff022ce16f5923bc2d8783d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 6055,
            "upload_time": "2025-09-14T18:34:56",
            "upload_time_iso_8601": "2025-09-14T18:34:56.146096Z",
            "url": "https://files.pythonhosted.org/packages/fa/4b/9e1220c0727a2b3cf8c35501f67d9ef20109d0568c4f97ed89b274a95e74/ttk_text-0.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-14 18:34:56",
    "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"
}
        
Elapsed time: 2.35927s