Skip to main content

Extensions for tkinter.Text (provides read-only, scrollbars, line numbers etc)

Project description

Module tktextext provides classes EnhancedText and TextFrame.

EnhancedText is subclass of tkinter.Text and adds

  • possibility to make text read-only but keep text selectable
  • several movement and editing aids (smart-tab, smart-home, etc)
  • several useful helper methods.

TextFrame is subclass of tkinter.ttk.Frame and can decorate TextFrame (or tkinter.Text) with scrollbars and line numbers margin.

The module was initially developed for Thonny, Python IDE for beginners

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution (9.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page