Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

License

NotificationsYou must be signed in to change notification settings

rigvedmaanas/CustomTkinterCodeViewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Install via pypi

pip install CustomtkinterCodeViewer

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

ArgumentValue
rootroot, tkinter.Frame or CTkFrame
widthtextbox width in px
heighttextbox height in px
codecode to display
allow_selectingallow users to select or not (True or False)
languagethe language given (default = "python"). This supports all the languages available in pygments
themetheme of the syntax highlighting (default = "monokai"). This supports all the themes available in pygments

Methods

  • .allstyles()

    returns all the available themes

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp