tkdeft 0.0.2__tar.gz → 0.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tkdeft-0.0.2 → tkdeft-0.0.4}/PKG-INFO +7 -1
- {tkdeft-0.0.2 → tkdeft-0.0.4}/README.md +4 -1
- {tkdeft-0.0.2 → tkdeft-0.0.4}/pyproject.toml +4 -1
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/__init__.py +1 -0
- tkdeft-0.0.4/tkdeft/__main__.py +46 -0
- tkdeft-0.0.4/tkdeft/utility/__init__.py +1 -0
- tkdeft-0.0.4/tkdeft/utility/__pycache__/__init__.cpython-310.pyc +0 -0
- tkdeft-0.0.4/tkdeft/utility/__pycache__/__init__.cpython-312.pyc +0 -0
- tkdeft-0.0.4/tkdeft/utility/__pycache__/fonts.cpython-310.pyc +0 -0
- tkdeft-0.0.4/tkdeft/windows/__pycache__/__init__.cpython-310.pyc +0 -0
- tkdeft-0.0.4/tkdeft/windows/__pycache__/canvas.cpython-310.pyc +0 -0
- tkdeft-0.0.4/tkdeft/windows/__pycache__/draw.cpython-310.pyc +0 -0
- tkdeft-0.0.4/tkdeft/windows/__pycache__/drawwidget.cpython-310.pyc +0 -0
- tkdeft-0.0.4/tkdeft/windows/fluent/__pycache__/__init__.cpython-310.pyc +0 -0
- tkdeft-0.0.4/tkdeft/windows/fluent/__pycache__/badge.cpython-310.pyc +0 -0
- tkdeft-0.0.4/tkdeft/windows/fluent/__pycache__/button.cpython-310.pyc +0 -0
- tkdeft-0.0.4/tkdeft/windows/fluent/__pycache__/entry.cpython-310.pyc +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/windows/fluent/__pycache__/entry.cpython-312.pyc +0 -0
- tkdeft-0.0.4/tkdeft/windows/fluent/__pycache__/frame.cpython-310.pyc +0 -0
- tkdeft-0.0.4/tkdeft/windows/fluent/__pycache__/text.cpython-310.pyc +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/windows/fluent/__pycache__/text.cpython-312.pyc +0 -0
- tkdeft-0.0.4/tkdeft/windows/fluent/__pycache__/window.cpython-310.pyc +0 -0
- tkdeft-0.0.2/tkdeft/utility/__init__.py +0 -0
- tkdeft-0.0.2/tkdeft/utility/__pycache__/__init__.cpython-312.pyc +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/object.py +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/utility/__pycache__/fonts.cpython-312.pyc +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/utility/fonts.py +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/utility/segoe_font.ttf +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/windows/__init__.py +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/windows/__pycache__/__init__.cpython-312.pyc +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/windows/__pycache__/canvas.cpython-312.pyc +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/windows/__pycache__/draw.cpython-312.pyc +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/windows/__pycache__/drawwidget.cpython-312.pyc +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/windows/canvas.py +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/windows/draw.py +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/windows/drawwidget.py +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/windows/fluent/__init__.py +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/windows/fluent/__pycache__/__init__.cpython-312.pyc +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/windows/fluent/__pycache__/badge.cpython-312.pyc +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/windows/fluent/__pycache__/button.cpython-312.pyc +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/windows/fluent/__pycache__/frame.cpython-312.pyc +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/windows/fluent/__pycache__/window.cpython-312.pyc +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/windows/fluent/badge.py +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/windows/fluent/button.py +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/windows/fluent/entry.py +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/windows/fluent/frame.py +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/windows/fluent/text.py +0 -0
- {tkdeft-0.0.2 → tkdeft-0.0.4}/tkdeft/windows/fluent/window.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tkdeft
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.4
|
|
4
4
|
Summary: 使用tkinter+tksvg开发的现代化界面库
|
|
5
5
|
Author: XiangQinxi
|
|
6
6
|
Author-email: xiangqinxi@outlook.com
|
|
@@ -12,7 +12,10 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.10
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Requires-Dist: svgwrite (>=1.4.3,<2.0.0)
|
|
15
16
|
Requires-Dist: tkextrafont (>=0.6.3,<0.7.0)
|
|
17
|
+
Requires-Dist: tksvg (>=0.7.4,<0.8.0)
|
|
18
|
+
Project-URL: Documentation, https://tkdeft.netlify.app
|
|
16
19
|
Description-Content-Type: text/markdown
|
|
17
20
|
|
|
18
21
|
# tkdeft
|
|
@@ -50,3 +53,6 @@ Description-Content-Type: text/markdown
|
|
|
50
53
|
|
|
51
54
|
### 2023-01-23
|
|
52
55
|
发布`0.0.2`版本,补充模板组件`DEntry`、`DFrame`、`DText`, `DBadge`
|
|
56
|
+
|
|
57
|
+
### 2023-01-25
|
|
58
|
+
发布`0.0.3` `0.0.4`版本,粗心了,两次补充依赖
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "tkdeft"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.4"
|
|
4
4
|
description = "使用tkinter+tksvg开发的现代化界面库"
|
|
5
5
|
authors = ["XiangQinxi <xiangqinxi@outlook.com>"]
|
|
6
6
|
readme = "README.md"
|
|
7
|
+
documentation = "https://tkdeft.netlify.app"
|
|
7
8
|
|
|
8
9
|
[tool.poetry.dependencies]
|
|
9
10
|
python = "^3.7"
|
|
11
|
+
tksvg = "^0.7.4"
|
|
10
12
|
tkextrafont = "^0.6.3"
|
|
13
|
+
svgwrite = "^1.4.3"
|
|
11
14
|
|
|
12
15
|
[build-system]
|
|
13
16
|
requires = ["poetry-core"]
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
from tkdeft import *
|
|
2
|
+
from tkinter import *
|
|
3
|
+
from tkinter.font import *
|
|
4
|
+
|
|
5
|
+
root = DWindow()
|
|
6
|
+
root.configure(background="#ffffff")
|
|
7
|
+
root.configure(background="#202020")
|
|
8
|
+
|
|
9
|
+
frame1 = DFrame()
|
|
10
|
+
|
|
11
|
+
badge1 = DBadge(frame1, text="DBadge")
|
|
12
|
+
badge1.pack(padx=5, pady=5)
|
|
13
|
+
|
|
14
|
+
button1 = DButton(frame1, text="DButton", command=lambda: print("DButton -> Clicked"))
|
|
15
|
+
button1.pack(fill="x", padx=5, pady=5)
|
|
16
|
+
|
|
17
|
+
button2 = DAccentButton(frame1, text="DAccentButton", command=lambda: print("DAccentButton -> Clicked"))
|
|
18
|
+
button2.pack(fill="x", padx=5, pady=5)
|
|
19
|
+
|
|
20
|
+
entry1 = DEntry(frame1)
|
|
21
|
+
entry1.pack(fill="x", padx=5, pady=5)
|
|
22
|
+
|
|
23
|
+
text1 = DText(frame1)
|
|
24
|
+
text1.pack(fill="x", padx=5, pady=5)
|
|
25
|
+
|
|
26
|
+
frame1.pack(fill="both", expand="yes", side="left", padx=5, pady=5)
|
|
27
|
+
|
|
28
|
+
frame2 = DDarkFrame()
|
|
29
|
+
|
|
30
|
+
badge2 = DDarkBadge(frame2, text="DDarkBadge", width=100)
|
|
31
|
+
badge2.pack(padx=5, pady=5)
|
|
32
|
+
|
|
33
|
+
button3 = DDarkButton(frame2, text="DDarkButton", command=lambda: print("DDarkButton -> Clicked"))
|
|
34
|
+
button3.pack(fill="x", padx=5, pady=5)
|
|
35
|
+
|
|
36
|
+
button4 = DDarkAccentButton(frame2, text="DDarkAccentButton", command=lambda: print("DDarkAccentButton -> Clicked"))
|
|
37
|
+
button4.pack(fill="x", padx=5, pady=5)
|
|
38
|
+
|
|
39
|
+
entry2 = DDarkEntry(frame2)
|
|
40
|
+
entry2.pack(fill="x", padx=5, pady=5)
|
|
41
|
+
|
|
42
|
+
text2 = DDarkText(frame2)
|
|
43
|
+
text2.pack(fill="x", padx=5, pady=5)
|
|
44
|
+
|
|
45
|
+
frame2.pack(fill="both", expand="yes", side="right", padx=5, pady=5)
|
|
46
|
+
root.mainloop()
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from .fonts import SegoeFont
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
index a4fa215..bceaf2e 100644
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
index 7ffb440..89d7049 100644
|
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|