Skip to main content

TtkTheme2

受ttkthemes灵感而发,目的只是为了补充ttkthemes的主题。

维护者:XiangQinxi


TtkThemes2

*依赖tksvg库,有些主题是使用tksvg构建的,需要安装tksvg

pip install tksvg

使用:

from ttkthemes2 import TtkThemes2
theme = TtkThemes2(theme_name=...)

简单示例

from tkinter import Tk, ttk, StringVar
from ttkthemes2 import TtkThemes2

root = Tk()

theme = TtkThemes2(theme_name="awdark")

window = ttk.Frame(root)

button = ttk.Button(window, text="TtkButton")
button.pack(padx=10, pady=10, fill="x")

window.pack(fill="both", expand="yes")

root.mainloop()

Themed2Tk

简易包装TtkThemes2

*依赖tksvg库,有些主题是使用tksvg构建的,需要安装tksvg

pip install tksvg

使用:

from ttkthemes2 import Themed2Tk
root = Themed2Tk(theme_name=...)

简单示例

from tkinter import Tk, ttk, StringVar
from ttkthemes2 import Themed2Tk

root = Themed2Tk(theme_name="awdark")

window = ttk.Frame(root)

button = ttk.Button(window, text="TtkButton")
button.pack(padx=10, pady=10, fill="x")

window.pack(fill="both", expand="yes")

root.mainloop()

Metadata

Release files for ttkthemes2 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ttkthemes2 0.1.0
File Size Uploaded Provenance
ttkthemes2-0.1.0.tar.gz 103.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ttkthemes2 0.1.0
File Interpreter ABI Platform
ttkthemes2-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 514.6 kB

Release files / ttkthemes2-0.1.0.tar.gz

Download URL ttkthemes2-0.1.0.tar.gz
Size 103.9 kB
Tags Source
SHA-256 checksum
How to use checksums
602d2971414581a883f2d487a71ecf4e4459d2012a206e7c3bd6f45acb1ce629
BLAKE2b-256 checksum
How to use checksums
0aa6e92ed0e955e0890186b77ebf84709a06dcc7efd82808e5bf2de4ceb957f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.9.9 Windows/10

Release files / ttkthemes2-0.1.0-py3-none-any.whl

Download URL ttkthemes2-0.1.0-py3-none-any.whl
Size 410.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
36a32c3a7dd3214f0a4133f51dffc8709a7ab3bec07c784190eb96be6e9ded95
BLAKE2b-256 checksum
How to use checksums
6d1f3c92408d5b353e01d3abe5ad23748fb4f3b1f3b2eeb8a622a840ce158c9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.9.9 Windows/10

Security for ttkthemes2 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page