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.1.0.tar.gz
(8.1 kB
view hashes)
Built Distribution
Close
Hashes for chlorophyll-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9001f34caf6527fa7a3fe6d8c3f466437b6e583e973eab71d564c0ce6b15ece |
|
MD5 | eb08822498fe8266ebdf71dfa39ed9ac |
|
BLAKE2b-256 | b2e7374a714a932ed7ba4fe07d1a9e452c3a297b7bbd55a6be5b5f34fc101bf2 |