A gorgeous theme for Tkinter, based on Windows 11's UI
Project description
Installation
The theme is easily installable as a Python package
pip install sv-ttk
Usage
For detailed documentation, see the wiki page
import tkinter
from tkinter import ttk
import sv_ttk
root = tkinter.Tk()
button = ttk.Button(root, text="Click me!")
button.pack()
# This is where the magic happens
sv_ttk.set_theme("dark")
root.mainloop()
Known bugs and limitations
- Tkinter (Tk) isn't really good at displaying
png
images, so the window can be quite laggy when resizing, especially on Windows.
What's next?
Check out my other ttk themes!
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
sv_ttk-2.2.tar.gz
(46.8 kB
view details)
Built Distribution
sv_ttk-2.2-py3-none-any.whl
(48.7 kB
view details)
File details
Details for the file sv_ttk-2.2.tar.gz
.
File metadata
- Download URL: sv_ttk-2.2.tar.gz
- Upload date:
- Size: 46.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21f5807fb9aefdf93faa612177ced9dea5fb012886be818185c1d79c55311845 |
|
MD5 | b5fbad84f96405f3e1b28604e97942ae |
|
BLAKE2b-256 | 2fada9265d49c6f9932fa2792d355eae7411134001746c0697e1cd3b71e2d2f8 |
File details
Details for the file sv_ttk-2.2-py3-none-any.whl
.
File metadata
- Download URL: sv_ttk-2.2-py3-none-any.whl
- Upload date:
- Size: 48.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bcb2415f4226861c659453d26e383418563c9ba4f73b4a0706d09b67558c888 |
|
MD5 | 997a246aff948e5e69e5bcd7399b7d1f |
|
BLAKE2b-256 | cbc2b181de07c93d409bd874b2f0647da59f11bc590bd87a4f68ae0cdc5b2e78 |