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 PyPI

Python-Awthemes is available in PyPI.

pip install python-awthemes

alternatively, add this to your requirements.txt file:

python-awthemes

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.1.tar.gz (110.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_awthemes-0.2.1-py3-none-any.whl (411.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_awthemes-0.2.1.tar.gz
  • Upload date:
  • Size: 110.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.1.tar.gz
Algorithm Hash digest
SHA256 6d877474dce52dd46a11ca14288d66bf667ab03d7c7b1a6bee6eda96c76ee4b0
MD5 2f3e96a5f5f6f43cf87d27e63499a946
BLAKE2b-256 065d148025fdbe35b112171cda82b0fa7fa2f5f3da4d55bd0d69b2ba0c9b87fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_awthemes-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fffe1571423a6aeb5fd62d377dfa0a9e455559e70f4ff9a29359e865ee392d73
MD5 a23a20e10350d2fa93b5cd3a9eaa0be9
BLAKE2b-256 8dbb2ec8beeb61aaff87e580e6ed1c6560f9aedb738fd8470ec24ec809f63089

See more details on using hashes here.

Supported by

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