Skip to main content

Themed Tkinter Text

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

Installation

pip install ttk-text

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.

Project 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.0.tar.gz (3.6 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.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ttk_text-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 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.0.tar.gz
Algorithm Hash digest
SHA256 e7ae3e437ad6c7c79919724809905b31c97c36060a43341fedb6cc6c4c80d6b0
MD5 c255eca8f09ab7d65d5f4a731d5d149a
BLAKE2b-256 5658f80cb8da32bebd9e40263735f2698782a97a11649eeaf705073b67f9bedd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ttk_text-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f31edce122c65b16d7c407b0ec746807abc314f72c464d0f30aceb1f93d0fb94
MD5 119eaa19caac205fea7e762a80d04c52
BLAKE2b-256 f8b20024fe16f4ffafe4c4450ef6feb06876783e37514219ebb2c8cc503afd20

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