Skip to main content

tkinter-titlebar

在Windows平台上自定义窗口,代码大部分借鉴自CustomTkinterTitlebar项目,采用ctypes与win32兼并使用。

使用

from tkcustomwindow import CustomWindow
from tkinter import Tk, Frame

root = Tk()

frame = Frame(root, width=100, height=25, background="grey")
frame.pack(fill="x", side="top")

customwindow = CustomWindow(root)
customwindow.bind_drag(frame)

root.mainloop()

Metadata

Release files for tkinter-customwindow 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 tkinter-customwindow 0.1.0
File Size Uploaded Provenance
tkinter_customwindow-0.1.0.tar.gz 2.4 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 5.1 kB

Release files / tkinter_customwindow-0.1.0.tar.gz

Download URL tkinter_customwindow-0.1.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f6923560b9d088b84e11e38e8f49bf4af1b06f149a963f62ab05b2a1920fcc71
BLAKE2b-256 checksum
How to use checksums
31604197a0d6f20691a484bfcfcf8c0dae0f4a806f45ffa60136780cd9492652
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.11 Windows/10

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

Download URL tkinter_customwindow-0.1.0-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de1d4b4ee8d2b315c59e4a2d3e3fc89b41e4c9a45a03b792134132826438d069
BLAKE2b-256 checksum
How to use checksums
6a18ac3cac98269ccec22a084a662c8ba490ec13236ea61e189b94dead443c3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.11 Windows/10

Security for tkinter-customwindow 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