tkforms
来自WinForms界面扩展库做出来的组件
Metro
免费使用,但是UI风格比较原始
Windows XP SP1/SP2/SP3Windows VistaWindows 7Windows 8Windows 10
# 基础示例1
import tkmetro
from tkinter import Tk
root = Tk()
button = tkmetro.Button()
button.pack(fill="both", expand="yes", padx=5, pady=5)
root.mainloop()
# 基础示例2
import tkmetro
from tkinter import Tk
root = Tk()
button1 = tkmetro.Button()
button1.pack(fill="both", expand="yes", padx=5, pady=5)
button2 = tkmetro.Button()
button2.configure(theme="dark") # theme设置组件主题配色,可设置为 "light" 或 "dark"
button2.pack(fill="both", expand="yes", padx=5, pady=5)
root.mainloop()
# 高级示例1
import tkmetro
from tkinter import Tk
root = Tk()
titlebar = tkmetro.TitleBar(root)
titlebar.show()
root.mainloop()
# 高级示例2
import tkmetro
from tkinter import Tk
root = Tk()
titlebar = tkmetro.TitleBar(root)
titlebar.configure(theme="dark")
titlebar.close_button.configure(theme="dark")
titlebar.title.configure(theme="dark")
titlebar.show()
root.mainloop()
Metadata
Release files for tkmetro 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| tkmetro-1.1.0.tar.gz | 515.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tkmetro-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.0 MB
Release files / tkmetro-1.1.0.tar.gz
| Download URL | tkmetro-1.1.0.tar.gz |
|---|---|
| Size | 515.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f8e166253a32d481a7e1ee13b162eb95ef1c3d7cbaf986acdf6199d090daeab
|
|
BLAKE2b-256 checksum How to use checksums |
8df90c5f6f015889b3ca32be8fedd63bb59c24ca74f5827c12cfceec0b1a8f72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Release files / tkmetro-1.1.0-py3-none-any.whl
| Download URL | tkmetro-1.1.0-py3-none-any.whl |
|---|---|
| Size | 515.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f6b666209c3022a826dd9fa64df3228636f85f35cb45ac29565336b2eaf1948e
|
|
BLAKE2b-256 checksum How to use checksums |
cc8a7757d85bc89873c0e8f5b99f21674921936e8c4ae56c60ddc3b0821d81e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Security for tkmetro 1.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.