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.1.tar.gz
(7.4 kB
view hashes)
Built Distribution
Close
Hashes for chlorophyll-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e43776d79dd284179737605b6938e07ee27439cee1672a9f90be2fc11ad52ea3 |
|
MD5 | 73523487e29304ad176a4669cb84b2e9 |
|
BLAKE2b-256 | 02f5104a4af2908229504682bc808ff7325114857bf501da3ebeeb9a2ac8c54c |