Skip to main content

Themed Tkinter Text widget with modern styling support.

Project description

TtkText

简体中文 | English | More translations are welcome!

Contributor Covenant

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

Windows 11 Windows 10 Windows 7

Example screenshots of Windows 11, Windows 10, and Windows 7.

Contributing

See CONTRIBUTING.md for details.

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.2.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ttk_text-0.1.2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file ttk_text-0.1.2.tar.gz.

File metadata

  • Download URL: ttk_text-0.1.2.tar.gz
  • Upload date:
  • Size: 5.0 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

Hashes for ttk_text-0.1.2.tar.gz
Algorithm Hash digest
SHA256 759af089fe36c0c877cc190eee27b94d16d64cbf83259dfa93cb766eaa2c1ff4
MD5 14e6e7e84774116087b0d6b0f5a8b280
BLAKE2b-256 5225800307645b48da81729f17efbd8fad1131d3672b4a858689ab5642253913

See more details on using hashes here.

File details

Details for the file ttk_text-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ttk_text-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.3 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

Hashes for ttk_text-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f0518bd4728267156625ce1c8dd103dc4c6f49aa9fb4955c2e9c74c8d57c01a5
MD5 e4728e27c8f1131120744d5354e25559
BLAKE2b-256 37dfd683d8e39dfa859ecd8715e3cb63b482999cc2f622c8d4f861b5efa423fc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page