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
Release history Release notifications | RSS feed
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.2.0.tar.gz
(7.5 kB
view hashes)