Skip to main content

A module that fills your code with color - syntax highlighted text box widget for Tkinter.

Project description

Chlorophyll

A module that fills your code with color - syntax highlighted text box widget for Tkinter.

This module is the successor to tkcode, as it is deprecated - please do not use it anymore.

Installation

pip install chlorophyll

Basic usage

Until there's no documentation

import tkinter

import pygments.lexers
from chlorophyll import CodeView

root = tkinter.Tk()

codeview = CodeView(root, lexer=pygments.lexers.RustLexer, color_scheme="monokai")
codeview.pack(fill="both", expand=True)

root.mainloop()

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

chlorophyll-0.1.1.tar.gz (7.4 kB view hashes)

Uploaded Source

Built Distribution

chlorophyll-0.1.1-py3-none-any.whl (9.6 kB view hashes)

Uploaded Python 3

Supported by

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