Skip to main content

itcl, itk, iwidgets

Project description

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

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

tkinteri-0.1.tar.gz (692.4 kB view details)

Uploaded Source

Built Distribution

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

tkinteri-0.1-py3-none-any.whl (685.0 kB view details)

Uploaded Python 3

File details

Details for the file tkinteri-0.1.tar.gz.

File metadata

  • Download URL: tkinteri-0.1.tar.gz
  • Upload date:
  • Size: 692.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.9.9 Windows/10

File hashes

Hashes for tkinteri-0.1.tar.gz
Algorithm Hash digest
SHA256 434ebd856148d9815ab4332f191d4894984bc4a495347722e24c1c12a46841cd
MD5 de471dc9958de65f40902ef2d4be27bd
BLAKE2b-256 8db467cc7c4e3f89b856c0990f2a9db62a99ca9eb26e6ecaef771807251a51fc

See more details on using hashes here.

File details

Details for the file tkinteri-0.1-py3-none-any.whl.

File metadata

  • Download URL: tkinteri-0.1-py3-none-any.whl
  • Upload date:
  • Size: 685.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.9.9 Windows/10

File hashes

Hashes for tkinteri-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5e32c7434b54bfea80b37fa92d55c69fff9535a50e179d2aaf91e3e920c27381
MD5 de49973a2fa1ea05ffe0f481fd5b6dcd
BLAKE2b-256 30876d8ed03b1c5b7c9564c3bbd2b92007f26c2a1ec18b6cce89da0edc0cbc6b

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