Themed Tkinter Text widget with modern styling support.
Project description
TtkText
简体中文 | English | More translations are welcome!
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
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
Example screenshots of Windows 11, Windows 10, and Windows 7.
Contributing
See CONTRIBUTING.md for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ttk_text-0.1.1.tar.gz
(4.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ttk_text-0.1.1.tar.gz.
File metadata
- Download URL: ttk_text-0.1.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.22.3 CPython/3.13.2 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b128488e587f3bf32a16e67f8c30a3d289444e53c2b82df723c9a7c6d3607c3
|
|
| MD5 |
7bb7e77f2069961262337a08b3c19727
|
|
| BLAKE2b-256 |
091c2bf4d22684c21f4d5cbff51d93cc7cd90448cf06a8de7f52927a13bc555d
|
File details
Details for the file ttk_text-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ttk_text-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.22.3 CPython/3.13.2 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40903cb328a5ce7c411480dd1661c430b1c5b3a95547f0bdbd5319237205ed9e
|
|
| MD5 |
cc09883796c52243609dd18da79cceae
|
|
| BLAKE2b-256 |
d62107aeb2d2dc0fe48d2eb7a7fb863d45a135cf4806d6e3df03fa955b61d348
|