Skip to main content

Tkinter的扩展包

Project description

👋 介绍

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

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


✨ 包含功能

Tk 相关

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

⚠ 重要说明

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

Toplevel 相关

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

📦 开始使用

该模块提供多种安装方式,可根据需要选择。一般情况下,建议使用第一种方法,这种方法版本稳定。

🤔 问题:我该选择哪个下载方法?

一般情况下,请使用第一种方法安装本模块,第一种方法发布的模块较为稳定。
如果下载时速度太慢,建议你使用国内镜像加速,如清华源

如果你希望获取测试版本,但是打不开Github,请访问Codeberg仓库。

  1. (稳定版) 打开电脑终端,执行下面命令:

    pip install tkextra
    
  2. (稳定版&预览版) 打开本项目的 Github 或者 Codeberg 仓库,获取最新的Res,下载 .whl 文件,运行下面命令:

    pip install tkextra-xxxxxx.whl 
    
  3. (预览版) 打开本项目的 Github 或者 Codeberg 仓库,执行:

    # 如果是Github,执行:
    git clone https://github.com/Aarondongsq/tkextra.git
    # 如果是Codeberg,执行:
    git clone https://codeberg.org/Aarondongsq/tkextra.git
    
    cd tkextra
    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.6.tar.gz (8.2 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.6-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tkextra-0.6.tar.gz
Algorithm Hash digest
SHA256 6b60e16aefddc5f5c349a5b27f6b7aa856591dab1395d58fd260709279134655
MD5 d7dbb2b4d1507c6bc9773bd6c46f66be
BLAKE2b-256 6dd98067dab428767095093f524c7ab3b2661adca26ad6d5b27ea4e354a82a94

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tkextra-0.6-py3-none-any.whl
  • Upload date:
  • Size: 8.3 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 07ef114b488b78755fa1b1b34cdf101a859acee46c3618067c14c28cf20470fd
MD5 080a945bf5d48a8d9c0fed9dd8020e72
BLAKE2b-256 b99e99e397ad21a6f08ce69e77a1530d18716f33d549e01f2f0aced24a3a122b

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