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 CHANGED
@@ -1 +1 @@
1
- __version__ = '0.1.72'
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': (text.BUILD, 'build'),
216
- 'close': (text.CLOSE, 'cancel'),
217
- 'code': (text.CODE, 'code'),
218
- 'compare': (text.COMPARE, 'compare'),
219
- 'config': (text.CONFIG, 'gear'),
220
- 'copy_docs': (text.COPY, 'copy_docs'),
221
- 'copy_clipboard': (text.COPY, 'copy_clipboard'),
222
- 'delete': (text.DELETE, 'delete'),
223
- 'diff': (text.DIFF, 'diff'),
224
- 'done': (text.DONE, 'done'),
225
- 'edit': (text.EDIT, 'edit'),
226
- 'exit': (text.EXIT, 'cancel'),
227
- 'new': (text.NEW, 'new'),
228
- 'next': (text.NEXT, 'next'),
229
- 'open': (text.OPEN, 'open'),
230
- 'pause': (text.PAUSE, 'pause'),
231
- 'preferences': (text.PREFERENCES, 'preferences'),
232
- 'previous': (text.PREVIOUS, 'previous'),
233
- 'process': (text.PROCESS, 'process'),
234
- 'redo': (text.REDO, 'redo'),
235
- 'refresh': (text.REFRESH, 'refresh'),
236
- 'rename': (text.RENAME, 'rename'),
237
- 'report': (text.REPORT, 'report'),
238
- 'reset': (text.RESET, 'reset'),
239
- 'run': (text.RUN, 'start'),
240
- 'save': (text.SAVE, 'save'),
241
- 'script': (text.SCRIPT, 'script'),
242
- 'send': (text.SEND, 'send'),
243
- 'start': (text.START, 'start'),
244
- 'update': (text.UPDATE, 'update'),
245
- 'upgrade': (text.UPGRADE, 'upgrade'),
246
- 'use': (text.USE, 'done'),
247
- 'windows': (text.WINDOWS, 'windows'),
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
 
Binary file
Binary file
psiutils/text.py CHANGED
@@ -1,5 +1,7 @@
1
1
  BUILD = 'Build'
2
2
  CANCEL = 'Cancel'
3
+ CHECK = 'Check'
4
+ CLEAR = 'Clear'
3
5
  CLOSE = 'Close'
4
6
  CODE = 'Code'
5
7
  COMPARE = 'Compare'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: psiutils
3
- Version: 0.1.72
3
+ Version: 0.1.74
4
4
  Summary: Various TKinter utilities.
5
5
  Author: Jeff
6
6
  Author-email: Jeff <<jeffwatkins2000@gmail.com>>
@@ -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=OjnUrYRacljDQh5a5thLEuicR8VThOQbnDC2L3d48OI,22
5
- psiutils/buttons.py,sha256=7yYw_MQGkg4ufUg7k6igcasUB1WHQCRxM_-effzl9HQ,8409
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=-l-LWRHHl2uvVROX3z3MPLxWCFlYnZTkT7HFpb0HHFY,756
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.72.dist-info/WHEEL,sha256=4n27za1eEkOnA7dNjN6C5-O2rUiw6iapszm14Uj-Qmk,79
51
- psiutils-0.1.72.dist-info/METADATA,sha256=wh67hVrKHLSnQ4KoiJzUn-VCa_m0u7n2DGPMuGjjymU,1977
52
- psiutils-0.1.72.dist-info/RECORD,,
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,,