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.0.1.tar.gz
(7.4 kB
view hashes)
Built Distribution
Close
Hashes for chlorophyll-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d814bd681410d7a7eab2e84522057d501a1c25527722461befe0f2ae3af1c7c6 |
|
MD5 | 5eaac1a04ad1c1fc66d3d592dacb84dd |
|
BLAKE2b-256 | 366810be908345b8fd0526d06ff4cfae535013fd5200c90de37b2a27ae238212 |