TkEasyGUI 0.2.3__tar.gz → 0.2.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.
- {tkeasygui-0.2.3/tkeasygui.egg-info → tkeasygui-0.2.4}/PKG-INFO +1 -1
- {tkeasygui-0.2.3 → tkeasygui-0.2.4}/pyproject.toml +1 -1
- {tkeasygui-0.2.3 → tkeasygui-0.2.4}/tkeasygui/__init__.py +1 -1
- {tkeasygui-0.2.3 → tkeasygui-0.2.4}/tkeasygui/widgets.py +17 -0
- {tkeasygui-0.2.3 → tkeasygui-0.2.4/tkeasygui.egg-info}/PKG-INFO +1 -1
- {tkeasygui-0.2.3 → tkeasygui-0.2.4}/LICENSE +0 -0
- {tkeasygui-0.2.3 → tkeasygui-0.2.4}/README.md +0 -0
- {tkeasygui-0.2.3 → tkeasygui-0.2.4}/setup.cfg +0 -0
- {tkeasygui-0.2.3 → tkeasygui-0.2.4}/tkeasygui/dialogs.py +0 -0
- {tkeasygui-0.2.3 → tkeasygui-0.2.4}/tkeasygui.egg-info/SOURCES.txt +0 -0
- {tkeasygui-0.2.3 → tkeasygui-0.2.4}/tkeasygui.egg-info/dependency_links.txt +0 -0
- {tkeasygui-0.2.3 → tkeasygui-0.2.4}/tkeasygui.egg-info/requires.txt +0 -0
- {tkeasygui-0.2.3 → tkeasygui-0.2.4}/tkeasygui.egg-info/top_level.txt +0 -0
|
@@ -1408,6 +1408,23 @@ class FilesBrowse(FileBrowse):
|
|
|
1408
1408
|
self.multiple_files = True
|
|
1409
1409
|
self.save_as = False
|
|
1410
1410
|
|
|
1411
|
+
class FileSaveAsBrowse(FileBrowse):
|
|
1412
|
+
"""FileSaveAsBrowse element."""
|
|
1413
|
+
def __init__(self, button_text: str="...", key: str="", target_key: str|None=None,
|
|
1414
|
+
title: str="", file_types: tuple[tuple[str, str]]=(("All Files", "*.*"),), **kw) -> None:
|
|
1415
|
+
super().__init__("FileSaveAsBrowse", key, **kw)
|
|
1416
|
+
self.target_key = target_key
|
|
1417
|
+
self.title = title
|
|
1418
|
+
self.file_types = file_types
|
|
1419
|
+
self.props["text"] = button_text
|
|
1420
|
+
# force set params
|
|
1421
|
+
self.multiple_files = False
|
|
1422
|
+
self.save_as = True
|
|
1423
|
+
|
|
1424
|
+
class FileSaveAs(FileBrowse):
|
|
1425
|
+
"""FileSaveAs element. (alias of FileSaveAsBrowse)"""
|
|
1426
|
+
pass
|
|
1427
|
+
|
|
1411
1428
|
class FolderBrowse(FileBrowse):
|
|
1412
1429
|
"""FolderBrowse element."""
|
|
1413
1430
|
def __init__(self, button_text: str="...", key: str="", target_key: str|None=None,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|