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.4.2.tar.gz
(47.2 kB
view details)
Built Distribution
sv_ttk-2.4.2-py3-none-any.whl
(49.1 kB
view details)
File details
Details for the file sv_ttk-2.4.2.tar.gz
.
File metadata
- Download URL: sv_ttk-2.4.2.tar.gz
- Upload date:
- Size: 47.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb045951e0d35c868a361946f71e222747c01462406a02e3deed18d4a2b463c8 |
|
MD5 | 6b657ac6bb531de14f53a11141391343 |
|
BLAKE2b-256 | 37aed1e10249e4cdc284bee593eba48a1623c297b36e0f8dafbaf479b7a43727 |
File details
Details for the file sv_ttk-2.4.2-py3-none-any.whl
.
File metadata
- Download URL: sv_ttk-2.4.2-py3-none-any.whl
- Upload date:
- Size: 49.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e47a9c53f4fcd2ec49948cd46a8a9fe20f6e0e6078526755da8b3f141a0c91a6 |
|
MD5 | df76479485c196a12f8c321e2418d4ba |
|
BLAKE2b-256 | 437053cc7b65ed4da0b3cc22dcd47e51aadd997a9104426f94f54aae8e4fa026 |