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
andpygubu-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
python_awthemes-0.2.0.tar.gz
(72.3 kB
view details)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46873dcbcb3f58bab968132003e732847dce25b07dd09daa5ba07a56254c1a60 |
|
MD5 | 3229f01bb3c5b195aceceba15074fc62 |
|
BLAKE2b-256 | b61ca8fd8d3778385b473b6cea3b17c443769b81c98e8745a75308c266e1102d |
File details
Details for the file python_awthemes-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: python_awthemes-0.2.0-py3-none-any.whl
- Upload date:
- Size: 85.5 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 | e1fc8038992dbfa40da28f65d4faf496ff1ed073d31ba7b44bcd10ac84ad4f09 |
|
MD5 | df47a352418773f3a2e0b4dec181fb20 |
|
BLAKE2b-256 | 15717cf33435fa678d77a0c5931a88921a197caf26c40b0af4244de19caaf6bf |