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.3.tar.gz (5.2 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.3-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ttk_text-0.1.3.tar.gz
  • Upload date:
  • Size: 5.2 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.3.tar.gz
Algorithm Hash digest
SHA256 808730f7e51684169e0d938d3151f4ad91a2c0d4aa263dd18e1883413a4d49f9
MD5 d6c94f01372439377e26bcb3fcdea263
BLAKE2b-256 272556bbc397516e7e155872a3b3d731a2056367f14639335067ac4880491907

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ttk_text-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bea07e86889da34518c230fa91b8361d87e4cd24e43e7085b4605fbc92761308
MD5 5c93687a0fefe8238e0b1154be6acd1f
BLAKE2b-256 422d8e17c57d97e673792cf52779b5199a5f9ae226fbd661ce1b5c35621cb404

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