Skip to main content

CustomTkinter CodeViewer

This is a package for displaying code with syntax highlighting in a customtkinter application

CTkCodeViewer

Example

codeviewer = CTkCodeViewer(root, code=code, language="python", theme="monokai")

Arguments

Argument Value
root root, tkinter.Frame or CTkFrame
width textbox width in px
height textbox height in px
code code to display
allow_selecting allow users to select or not (True or False)
language the language given (default = "python"). This supports all the languages available in pygments
theme theme of the syntax highlighting (default = "monokai"). This supports all the themes available in pygments

Methods

  • .allstyles()

    returns all the available themes

Metadata

Release files for CustomtkinterCodeViewer 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for CustomtkinterCodeViewer 0.0.3
File Size Uploaded
CustomtkinterCodeViewer-0.0.3.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for CustomtkinterCodeViewer 0.0.3
File Interpreter ABI Platform
CustomtkinterCodeViewer-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 6.1 kB

Release files / CustomtkinterCodeViewer-0.0.3.tar.gz

Download URL CustomtkinterCodeViewer-0.0.3.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
117fbf7a3f8239dc1c74f9723e1ec4979c35334a807060af1a7e8e29bfef7ca1
BLAKE2b-256 checksum
How to use checksums
1d68880426823cd3606a54ba5bff3b12b37e31978464e68ae7553f64cc887701
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / CustomtkinterCodeViewer-0.0.3-py3-none-any.whl

Download URL CustomtkinterCodeViewer-0.0.3-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57eccd11b370d04a230ae88d88bae82f71762798ef7ca9744b4b5651d12cffd4
BLAKE2b-256 checksum
How to use checksums
51619d98232d09cb1e6f9d773d96f0e3a864f308a92588cc9f5aa773a21be3b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page