Skip to main content

A port of [tcl-awthemes] to Python ttk.

Project description

Python-Awthemes

This project is a port of the tcl-awthemes from Tcl/Tk to Python. AWThemes is a library that provides attractive themes for Tcl/Tk, and now these rich and appealing themes can be utilized in Python’s Tkinter applications. This port allows Python developers to create GUI applications with a modern and appealing look more easily.

Install

Install from GitHub

pip install git+https://github.com/undecV/python-awthemes

alternatively, add this to your requirements.txt file:

python-awthemes @ git+https://github.com/undecV/python-awthemes.git@main

Useage

from awthemes import AwthemesStyle

root = tk.Tk()

# Load AwthemesStyle for your Tk root.
style = AwthemesStyle(root)

# Get all avaliable themes.
themes = style.theme_names()

# Set the theme.
style.theme_use("awdark")

Development Remark

  • Tested for compatibility with pygubu and pygubu-designer.
  • Tested for compatibility with pyinstaller (with argumet --collect-all "awthemes").
  • Tested for compatibility with ttkwidgets.

Reference

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_awthemes-0.2.0.tar.gz (72.3 kB view details)

Uploaded Source

Built Distribution

python_awthemes-0.2.0-py3-none-any.whl (85.5 kB view details)

Uploaded Python 3

File details

Details for the file python_awthemes-0.2.0.tar.gz.

File metadata

  • Download URL: python_awthemes-0.2.0.tar.gz
  • Upload date:
  • Size: 72.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for python_awthemes-0.2.0.tar.gz
Algorithm Hash digest
SHA256 46873dcbcb3f58bab968132003e732847dce25b07dd09daa5ba07a56254c1a60
MD5 3229f01bb3c5b195aceceba15074fc62
BLAKE2b-256 b61ca8fd8d3778385b473b6cea3b17c443769b81c98e8745a75308c266e1102d

See more details on using hashes here.

File details

Details for the file python_awthemes-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for python_awthemes-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e1fc8038992dbfa40da28f65d4faf496ff1ed073d31ba7b44bcd10ac84ad4f09
MD5 df47a352418773f3a2e0b4dec181fb20
BLAKE2b-256 15717cf33435fa678d77a0c5931a88921a197caf26c40b0af4244de19caaf6bf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page