Skip to main content

Tkinter的扩展包

Project description

标题图

👋 介绍

这是 Tkinter 的一个扩展包,在不更改原有框架的前提下增加了一些新功能。

扩展包继承了原有 Tkinter 的所有功能,无需修改大量现有代码,可以在已有项目的基础上直接使用。


✨ 包含功能

Tk 相关

  • 窗口居中
  • DPI 修复(Windows 独有)

[!important]
DPI 修复是 Windows 的独有功能,用于解决不同 DPI 下控件错位的问题。
其他系统暂未发现此问题,因此在该功能在其他系统上不会生效。

Toplevel 相关

  • 窗口居中
  • 将窗口设为模态窗口(相当于弹窗)

📦 开始使用

该模块提供多种安装方式,可根据需要选择:

  1. 打开终端,执行:

    pip install tkextra
    
  2. 前往 Release 页下载最新的 .whl 模块文件,在终端执行:

    pip install (最新发布的模块名称).whl
    
  3. 复制本仓库的 Git 地址,在终端执行 git clone,然后按顺序执行:

    python setup.py build
    python setup.py install
    

⚖ 许可证

本项目按照 LGPL V3 许可开源。
所有插画均受 CC BY-SA 保护。

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

tkextra-0.5.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

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

tkextra-0.5-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file tkextra-0.5.tar.gz.

File metadata

  • Download URL: tkextra-0.5.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for tkextra-0.5.tar.gz
Algorithm Hash digest
SHA256 9bd060b2dc9deb1952b6b3a8dbe09b2745790ad49240ae1df7b6fa9f79abc087
MD5 c1677c2dcb71ba010f2354cbd24aaf3e
BLAKE2b-256 c1278b89d433db36b4628764d58bf28b13d579fc69f87460dd124df79ca41815

See more details on using hashes here.

File details

Details for the file tkextra-0.5-py3-none-any.whl.

File metadata

  • Download URL: tkextra-0.5-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for tkextra-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 769c9bced0af94b00465eeeee4e53bc6c7a836cc57f2125f9a91330570b274ba
MD5 a5d2cc8d028aa9ab6315dd4c5dcf4b2b
BLAKE2b-256 ecefec6600c9564c7536792638b907808afc7334e90be4f4afe2d9c58c55b9c2

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