Skip to main content

tkinter titlebar for Windows

Project description

tkinter-titlebar

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

使用

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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tkinter_customwindow-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tkinter_customwindow-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file tkinter_customwindow-0.1.0.tar.gz.

File metadata

  • Download URL: tkinter_customwindow-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.11 Windows/10

File hashes

Hashes for tkinter_customwindow-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f6923560b9d088b84e11e38e8f49bf4af1b06f149a963f62ab05b2a1920fcc71
MD5 5dc2c80e3b9168fb778afd17c6542236
BLAKE2b-256 31604197a0d6f20691a484bfcfcf8c0dae0f4a806f45ffa60136780cd9492652

See more details on using hashes here.

File details

Details for the file tkinter_customwindow-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tkinter_customwindow-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de1d4b4ee8d2b315c59e4a2d3e3fc89b41e4c9a45a03b792134132826438d069
MD5 308f296ab539e2ebfe8875a639555e62
BLAKE2b-256 6a18ac3cac98269ccec22a084a662c8ba490ec13236ea61e189b94dead443c3f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page