psiutils 0.1.72__py3-none-any.whl → 0.1.74__py3-none-any.whl
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.
- psiutils/_version.py +1 -1
- psiutils/buttons.py +37 -35
- psiutils/icons/check.png +0 -0
- psiutils/icons/clear.png +0 -0
- psiutils/text.py +2 -0
- {psiutils-0.1.72.dist-info → psiutils-0.1.74.dist-info}/METADATA +1 -1
- {psiutils-0.1.72.dist-info → psiutils-0.1.74.dist-info}/RECORD +8 -6
- {psiutils-0.1.72.dist-info → psiutils-0.1.74.dist-info}/WHEEL +0 -0
psiutils/_version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '0.1.
|
|
1
|
+
__version__ = '0.1.74'
|
psiutils/buttons.py
CHANGED
|
@@ -4,11 +4,11 @@ from tkinter import ttk
|
|
|
4
4
|
from pathlib import Path
|
|
5
5
|
from PIL import Image, ImageTk
|
|
6
6
|
|
|
7
|
+
import psiutils.text as txt
|
|
8
|
+
|
|
7
9
|
from .constants import PAD, Pad
|
|
8
10
|
from .widgets import enter_widget, clickable_widget, HAND
|
|
9
11
|
|
|
10
|
-
import psiutils.text as text
|
|
11
|
-
|
|
12
12
|
|
|
13
13
|
class IconButton(ttk.Frame):
|
|
14
14
|
def __init__(
|
|
@@ -212,39 +212,41 @@ def enable_buttons(buttons: list[Button], enable: bool = True):
|
|
|
212
212
|
|
|
213
213
|
|
|
214
214
|
icon_buttons = {
|
|
215
|
-
'build': (
|
|
216
|
-
'
|
|
217
|
-
'
|
|
218
|
-
'
|
|
219
|
-
'
|
|
220
|
-
'
|
|
221
|
-
'
|
|
222
|
-
'
|
|
223
|
-
'
|
|
224
|
-
'
|
|
225
|
-
'
|
|
226
|
-
'
|
|
227
|
-
'
|
|
228
|
-
'
|
|
229
|
-
'
|
|
230
|
-
'
|
|
231
|
-
'
|
|
232
|
-
'
|
|
233
|
-
'
|
|
234
|
-
'
|
|
235
|
-
'
|
|
236
|
-
'
|
|
237
|
-
'
|
|
238
|
-
'
|
|
239
|
-
'
|
|
240
|
-
'
|
|
241
|
-
'
|
|
242
|
-
'
|
|
243
|
-
'
|
|
244
|
-
'
|
|
245
|
-
'
|
|
246
|
-
'
|
|
247
|
-
'
|
|
215
|
+
'build': (txt.BUILD, 'build'),
|
|
216
|
+
'check': (txt.CHECK, 'check'),
|
|
217
|
+
'clear': (txt.CLEAR, 'clear'),
|
|
218
|
+
'close': (txt.CLOSE, 'cancel'),
|
|
219
|
+
'code': (txt.CODE, 'code'),
|
|
220
|
+
'compare': (txt.COMPARE, 'compare'),
|
|
221
|
+
'config': (txt.CONFIG, 'gear'),
|
|
222
|
+
'copy_docs': (txt.COPY, 'copy_docs'),
|
|
223
|
+
'copy_clipboard': (txt.COPY, 'copy_clipboard'),
|
|
224
|
+
'delete': (txt.DELETE, 'delete'),
|
|
225
|
+
'diff': (txt.DIFF, 'diff'),
|
|
226
|
+
'done': (txt.DONE, 'done'),
|
|
227
|
+
'edit': (txt.EDIT, 'edit'),
|
|
228
|
+
'exit': (txt.EXIT, 'cancel'),
|
|
229
|
+
'new': (txt.NEW, 'new'),
|
|
230
|
+
'next': (txt.NEXT, 'next'),
|
|
231
|
+
'open': (txt.OPEN, 'open'),
|
|
232
|
+
'pause': (txt.PAUSE, 'pause'),
|
|
233
|
+
'preferences': (txt.PREFERENCES, 'preferences'),
|
|
234
|
+
'previous': (txt.PREVIOUS, 'previous'),
|
|
235
|
+
'process': (txt.PROCESS, 'process'),
|
|
236
|
+
'redo': (txt.REDO, 'redo'),
|
|
237
|
+
'refresh': (txt.REFRESH, 'refresh'),
|
|
238
|
+
'rename': (txt.RENAME, 'rename'),
|
|
239
|
+
'report': (txt.REPORT, 'report'),
|
|
240
|
+
'reset': (txt.RESET, 'reset'),
|
|
241
|
+
'run': (txt.RUN, 'start'),
|
|
242
|
+
'save': (txt.SAVE, 'save'),
|
|
243
|
+
'script': (txt.SCRIPT, 'script'),
|
|
244
|
+
'send': (txt.SEND, 'send'),
|
|
245
|
+
'start': (txt.START, 'start'),
|
|
246
|
+
'update': (txt.UPDATE, 'update'),
|
|
247
|
+
'upgrade': (txt.UPGRADE, 'upgrade'),
|
|
248
|
+
'use': (txt.USE, 'done'),
|
|
249
|
+
'windows': (txt.WINDOWS, 'windows'),
|
|
248
250
|
}
|
|
249
251
|
|
|
250
252
|
|
psiutils/icons/check.png
ADDED
|
Binary file
|
psiutils/icons/clear.png
ADDED
|
Binary file
|
psiutils/text.py
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
psiutils/__init__.py,sha256=B8mLHCYCnD0LcwsGAtS3HM9kYdwVnhf6dNXL6i1H4kY,145
|
|
2
2
|
psiutils/_about_frame.py,sha256=xZQivwvZc-k8C-SkwQne-dBr4gavDAL_32fv8E-7Wt0,7644
|
|
3
3
|
psiutils/_logger.py,sha256=52Bn2dAcDm54G7VsH4jDIZRM1gMXHumVCPfVzOS-1X4,1725
|
|
4
|
-
psiutils/_version.py,sha256=
|
|
5
|
-
psiutils/buttons.py,sha256=
|
|
4
|
+
psiutils/_version.py,sha256=ADZlQZrSNC81lNnO-8IFEN5RZFKmqGGtQpiECQ8akM0,22
|
|
5
|
+
psiutils/buttons.py,sha256=6GJIJsjSzqB7qEgOLOLPeQm2Fh8xLaFyzN4gO3e4nrY,8445
|
|
6
6
|
psiutils/constants.py,sha256=T8AjYBkmuziAWjXgON-Sj0AM62NAGluj_Y6glrOFbHc,1107
|
|
7
7
|
psiutils/drag_manager.py,sha256=L04GzKIinWXzGCawvTnn18F1AEt8PUPS1U-HqCVrh48,3470
|
|
8
8
|
psiutils/errors.py,sha256=tAypFkpzpbeOppO9zKQimlnRVyr3sMPoiwh0yK3Yc88,562
|
|
9
9
|
psiutils/icecream_init.py,sha256=ArKnRHGCyMfEwSykiHGdhBmX4JPhrgcpShii_GAPWLI,739
|
|
10
10
|
psiutils/icons/build.png,sha256=MgQS4yPxfa5EBXCF5gXu2S6vqjUsRBhR4S6vCzOtrzQ,1169
|
|
11
11
|
psiutils/icons/cancel.png,sha256=O2YSv7wxSV5rhT1WiZ9McqO3pilCKNfZdJNwQceH87E,2168
|
|
12
|
+
psiutils/icons/check.png,sha256=8KqO0lWJvhcbSx1KI8QKfCkwLsszzotL9iBrXfwyf1Q,748
|
|
13
|
+
psiutils/icons/clear.png,sha256=UwO_Sf8ZCJro1ymtVA4T3XwWIbkQd-hr_dv0J8EaBxA,859
|
|
12
14
|
psiutils/icons/code.png,sha256=en7AOAITRFfsULX6WVU-nxY9LDEORVGsFVqXDXRqIG0,953
|
|
13
15
|
psiutils/icons/compare.png,sha256=7wEoI2Os7gGU8t1mwlJ5lKDZXkgkLyJRcs0dMyHyo1Q,565
|
|
14
16
|
psiutils/icons/copy_clipboard.png,sha256=z7Iazy6zp0jCrNtsmMu0g6q4HItwSB3IM571YeMfEIU,623
|
|
@@ -43,10 +45,10 @@ psiutils/images/icon-query.png,sha256=e18hqkew4eOxABvECKn7BGO2VTHTE-XLMWPSQfSW9d
|
|
|
43
45
|
psiutils/known_paths.py,sha256=P5AR482y-9YQjL_4VUx4cUTPYhffiTrWLEqQGYL24R4,9158
|
|
44
46
|
psiutils/menus.py,sha256=4pUHb3fEYzLnsftxdKB_NjlPryj_pu7WN5Iy5Quy9-M,1746
|
|
45
47
|
psiutils/messagebox.py,sha256=14W4KzEg8Fi1OCiOX9zZvomoSqibAYNipQpa95Tco5M,4969
|
|
46
|
-
psiutils/text.py,sha256=-
|
|
48
|
+
psiutils/text.py,sha256=-XmD5v6YJW_OFJl9ESzBA63a2gStp0d3lh3w6xlqCt0,788
|
|
47
49
|
psiutils/treeview.py,sha256=jtSzLWrnFIBDWV5YhWNRoZwgW-Kj8_7XVqZyusr-riQ,2826
|
|
48
50
|
psiutils/utilities.py,sha256=CrcyoUMk2d9WZcv7yahCJdWhpaGM7ux3dSP5kEvQoeA,3107
|
|
49
51
|
psiutils/widgets.py,sha256=ooGAy0IU3ct9aeqnBqMUr2AVyqg_zKHG8Fm9Gm-Wn5Y,11114
|
|
50
|
-
psiutils-0.1.
|
|
51
|
-
psiutils-0.1.
|
|
52
|
-
psiutils-0.1.
|
|
52
|
+
psiutils-0.1.74.dist-info/WHEEL,sha256=4n27za1eEkOnA7dNjN6C5-O2rUiw6iapszm14Uj-Qmk,79
|
|
53
|
+
psiutils-0.1.74.dist-info/METADATA,sha256=uiZeTum9ENDrK36K5U4EtILiYpxs5zoElgKlkprChhY,1977
|
|
54
|
+
psiutils-0.1.74.dist-info/RECORD,,
|
|
File without changes
|