Skip to main content

TkinterI

Tkinter扩展组件库


特点

  • 支持跨平台使用
  • 暂时有2个组件(完全实现总共52+组件)

安装

pip install tkinteri
python -m tkinteri

简介

本组件库基于 Incr Widgets, 通过Tcl提供的接口使用 Incr Widgets 进行开发。

ButtonBox 按钮盒

示例

from tkinter import Tk
from tkinteri import IButtonbox

root = Tk()

bb = IButtonbox()

bb.add("OK", text="OK", command=lambda: print("OK"))
bb.add("Apply", text="Apply", command=lambda: print("Apply"))
bb.add("Cancel", text="Cancel", command=lambda: print("Cancel"))

bb.default("OK")

bb.pack(fill="both", expand="yes")

bb2 = ButtonBox(orient="vertical")

bb2.add("First", text="First", command=lambda: print("First"))
bb2.add("Second", text="Second", command=lambda: print("Second"))
bb2.add("Third", text="Third", command=lambda: print("Third"))

bb2.insert(2, "Fourth", text="Fourth", command=lambda: print("Fourth"))

bb2.default("First")

bb2.invoke()
bb2.invoke("Second")

print("Button-Third`s Index", bb2.index("Third"))

bb2.pack(fill="both", expand="yes")

root.mainloop()

Metadata

Release files for tkinteri 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tkinteri 0.1
File Size Uploaded Provenance
tkinteri-0.1.tar.gz 692.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for tkinteri 0.1
File Interpreter ABI Platform
tkinteri-0.1-py3-none-any.whl Python 3 none any Details

Total release size: 1.4 MB

Release files / tkinteri-0.1.tar.gz

Download URL tkinteri-0.1.tar.gz
Size 692.4 kB
Tags Source
SHA-256 checksum
How to use checksums
434ebd856148d9815ab4332f191d4894984bc4a495347722e24c1c12a46841cd
BLAKE2b-256 checksum
How to use checksums
8db467cc7c4e3f89b856c0990f2a9db62a99ca9eb26e6ecaef771807251a51fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.9.9 Windows/10

Release files / tkinteri-0.1-py3-none-any.whl

Download URL tkinteri-0.1-py3-none-any.whl
Size 685.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5e32c7434b54bfea80b37fa92d55c69fff9535a50e179d2aaf91e3e920c27381
BLAKE2b-256 checksum
How to use checksums
30876d8ed03b1c5b7c9564c3bbd2b92007f26c2a1ec18b6cce89da0edc0cbc6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.9.9 Windows/10

Security for tkinteri 0.1

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