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.6rc1.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.6rc1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tkextra-0.6rc1.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.6rc1.tar.gz
Algorithm Hash digest
SHA256 0c6961ed58f7f0f379eddc72dbd76a7e4b1a974719d46161afbadc5cfe6ea4d3
MD5 b4c2215c2d0b41c432ad287942abd9b7
BLAKE2b-256 6703534f77772f0033b614b3d71abfbd050824a4e5e4a042e871637b31275561

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tkextra-0.6rc1-py3-none-any.whl
  • Upload date:
  • Size: 8.4 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.6rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 b0d1c2dc78071cefb2edabdb3345a732cc29e1d67b99015804c4900112b14a08
MD5 096f7ab8b5b18305ec19b8def419da59
BLAKE2b-256 6ea9f50a1de02a3a283b43ca4db12b8a7dd30e034ad74882d1616d14b11909f2

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