Skip to main content

tktk

介绍

tkinter的增强控件,将tkinter的基础控件进行封装,给予更强大的控件功能,所有控件继承于LabelFrame进行封装,使用方法和普通控件没什么区别;

🛠 pypi gitee

软件架构

软件架构说明

安装教程

  1. pip install git+https://gitee.com/w-8/tktk.git
  2. pip install tktk
  3. xxxx

使用说明

import tkinter as tk
import tktk

if __name__=="__main__":
    win = tk.Tk()
    xe=tktk.LogFrame(win)
    xe.grid(column=0,row=0,sticky="WNSE")
    win.columnconfigure(0,weight=1)
    tk.Button(win,text="Insert1",command=lambda: xe.m_Gui_LogInsert("233")).grid(column=0,row=1,sticky='WNSE')
    tk.Button(win,text="Insert2",command=lambda: xe.m_Gui_LogInsert("244",True)).grid(column=0,row=2,sticky='WNSE')
    tk.Button(win,text="Clear",command=lambda: xe.m_Gui_LogClear()).grid(column=0,row=3,sticky='WNSE')
    win.mainloop()

演示图片

LogFrame

参与贡献

  1. Fork 本仓库
  2. 拉取Fork后仓库的代码到本地
  3. 提交代码
  4. 新建 Pull Request

Release files for tktk 0.4.7

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

Source distribution (sdist)

Source distribution for tktk 0.4.7
File Size Uploaded
tktk-0.4.7.tar.gz 8.9 kB Details

Release files / tktk-0.4.7.tar.gz

Download URL tktk-0.4.7.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
66038a6ede32a770123675b650e46a5822778f9a06dd0c069b250c06f9f17357
BLAKE2b-256 checksum
How to use checksums
c9fc1067c23c876517e8fe3350d8ad93cecbb64d23663cc85d2857c88c4ebd7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.4.7 This release

1 release file

0.4.5

1 release file

0.4.4

1 release file

0.4.3

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

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