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
pygubuandpygubu-designer. - Tested for compatibility with
pyinstaller(with argumet--collect-all "awthemes"). - Tested for compatibility with
ttkwidgets.
Reference
- Tcler's Wiki: awthemes
- SourceForge: tcl-awthemes (License: Zlib)
- GitHub: ttkthemes (License: GPL-3.0)
- PyPi: types-ttkthemes (License: Apache)
- PyPi: ttkthemes2 (License: MIT)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d877474dce52dd46a11ca14288d66bf667ab03d7c7b1a6bee6eda96c76ee4b0
|
|
| MD5 |
2f3e96a5f5f6f43cf87d27e63499a946
|
|
| BLAKE2b-256 |
065d148025fdbe35b112171cda82b0fa7fa2f5f3da4d55bd0d69b2ba0c9b87fb
|
File details
Details for the file python_awthemes-0.2.1-py3-none-any.whl.
File metadata
- Download URL: python_awthemes-0.2.1-py3-none-any.whl
- Upload date:
- Size: 411.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fffe1571423a6aeb5fd62d377dfa0a9e455559e70f4ff9a29359e865ee392d73
|
|
| MD5 |
a23a20e10350d2fa93b5cd3a9eaa0be9
|
|
| BLAKE2b-256 |
8dbb2ec8beeb61aaff87e580e6ed1c6560f9aedb738fd8470ec24ec809f63089
|