Skip to main content

使用tkinter+tksvg开发的现代化界面库

Project description

tkdeft

Netlify Status

意为灵巧,灵活轻巧好用

tkadw之后的tkinter的现代化界面库

开发中


注意

[!NOTE] 这里呢,已经成为tkfluent的基础库了,不含tkfluent的组件。 如果你想体验扩展界面库的效果,请去tkfluent查阅。

原理

先使用svgwrite进行矢量作图(默认会将其存储到临时文件夹中),再用tksvg打开图片,将图片利用CanvasLabel显示出来 index.md

这其中还是有些坑的,比如图片不显示等,导致我以前想做,却放弃了,现在知道错误所在了

计划

未来我打算先制作出SunValley设计的库然后就去做别的项目,tkfluent

至于完整文档,我后面会加紧制作的。

设计来源: https://pixso.cn/community/file/ItC5JH1TOwj15EeOPcY7LQ?from_share

为什么不像tkadw一样做跟易用的主题?

因为svg能实现很多漂亮的组件,而我套的模板可能不对其它设计其太大的作用

所以我将这个设计库放在这里当做模板,供其它设计者参考使用。

更新日志

2024-01-22

发布0.0.1版本,模板组件包括DButton

2023-01-23

发布0.0.2版本,补充模板组件DEntryDFrameDText, DBadge

2023-01-25

发布0.0.3 0.0.4版本,粗心了,两次补充依赖 发布0.0.5版本,模板组件主题由theme(mode=..., style=...)设置,不再使用如DDarkButton这样的,添加DWindow.wincustom自定义窗口(仅限Windows) 发布0.0.6版本,模板组件DBadge补充样式style=accent,并对自定义窗口进行稍微调整

2023-01-26

发布0.0.7版本,模板库Fluent已移至tkfluent

2024-09-16

发布0.0.9版本,一些小修改

2025-06-26

发布0.1.0版本,完善功能

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

tkdeft-0.1.2.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

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

tkdeft-0.1.2-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file tkdeft-0.1.2.tar.gz.

File metadata

  • Download URL: tkdeft-0.1.2.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.9 Windows/10

File hashes

Hashes for tkdeft-0.1.2.tar.gz
Algorithm Hash digest
SHA256 464b97b413b35496774db283af9aeecc200923177db73316493fdd08322c574c
MD5 1c011b06f3b8b641bf8a3758a7d5a01d
BLAKE2b-256 4cb652cad95b32b8cd7f547f8712650842ddd37b8cc119fdaef9e47c3756570e

See more details on using hashes here.

File details

Details for the file tkdeft-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: tkdeft-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.9 Windows/10

File hashes

Hashes for tkdeft-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d18f69a0f9d84792e2068d98d2b7d67fa3f389bf7d35798db734444e547a6b5d
MD5 3e810e6c78394462b9646338d13af363
BLAKE2b-256 b9f16b50b80652de78d42bd877d4921d89dc0d58bcd8d1c1d728987658fd398a

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