This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

tttt - tims tkinter text tags

Save and load tags for the tkinter text widget using open office format xml

Features

  • Super easy to use api, All the commands you will need are below!
  • Automatically indent buttons on selection
  • Bold, Italic, Underline, Overstrike, Fonts, Sizes
  • Behavour of adding and removing tags is modeled on libre office

Installation

pip3 install tttt

Usage

There is a demo picture avaliable

from tttt import XmlManager

tag_manager = XmlManager(text)

bind these to your callback buttons or hotkeys

tag_manager.change_style('bold')
tag_manager.change_style('italic')
tag_manager.change_style('solid')                       # underline
tag_manager.change_style(('family',value))
tag_manager.change_style(('size',value))
tag_manager.change_style(('foreground', value))
tag_manager.change_style(('background', value))

Saving and loading

tag_manager.load(data)
xml_data = tag_manager.save()

Configuring Buttons For Indenting

tag_manager.button_references = {'bold':bold,
                                'italic':italic,
                                'underline':underline,
                                'family':family_font_menu.var,
                                'overstrike':overstrike,
                                'foreground':foreground,
                                'background':background,
                                'size':size_menu.var
                                }

Coming Next Release

  • copy/paste/saving formatted text
  • python2 support

Change log

0.1.3

  • bug fix - duplicating tags on save/load

0.1.2

  • overstrike added
  • bold/italic buttons etc will no longer steal focus from the widget

0.1.1

  • many bugs removed

Authors and Contributors

Timothy Eichler

Release History

Release History

0.1.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
tttt-0.1.3-py2.py3-none-any.whl (21.4 kB) Copy SHA256 Checksum SHA256 3.4 Wheel Aug 5, 2015
tttt-0.1.3.zip (25.2 kB) Copy SHA256 Checksum SHA256 Source Aug 5, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting