winrt-Windows.Storage.Pickers.Provider 2.2.0__cp313-cp313-win_amd64.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.
@@ -0,0 +1,115 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.foundation as windows_foundation
13
+ import winrt.windows.foundation.collections as windows_foundation_collections
14
+ import winrt.windows.storage as windows_storage
15
+
16
+ from winrt.windows.storage.pickers.provider import AddFileResult, FileSelectionMode, SetFileNameResult
17
+
18
+ Self = typing.TypeVar('Self')
19
+
20
+ @typing.final
21
+ class FileOpenPickerUI(winrt.system.Object):
22
+ @staticmethod
23
+ def _from(obj: winrt.system.Object, /) -> FileOpenPickerUI: ...
24
+ def add_file(self, id: str, file: typing.Optional[windows_storage.IStorageFile], /) -> AddFileResult: ...
25
+ def can_add_file(self, file: typing.Optional[windows_storage.IStorageFile], /) -> bool: ...
26
+ def contains_file(self, id: str, /) -> bool: ...
27
+ def remove_file(self, id: str, /) -> None: ...
28
+ def add_closing(self, handler: windows_foundation.TypedEventHandler[FileOpenPickerUI, PickerClosingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
29
+ def remove_closing(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
30
+ def add_file_removed(self, handler: windows_foundation.TypedEventHandler[FileOpenPickerUI, FileRemovedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
31
+ def remove_file_removed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
32
+ @_property
33
+ def title(self) -> str: ...
34
+ @title.setter
35
+ def title(self, value: str) -> None: ...
36
+ @_property
37
+ def allowed_file_types(self) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
38
+ @_property
39
+ def selection_mode(self) -> FileSelectionMode: ...
40
+ @_property
41
+ def settings_identifier(self) -> str: ...
42
+
43
+ @typing.final
44
+ class FileRemovedEventArgs(winrt.system.Object):
45
+ @staticmethod
46
+ def _from(obj: winrt.system.Object, /) -> FileRemovedEventArgs: ...
47
+ @_property
48
+ def id(self) -> str: ...
49
+
50
+ @typing.final
51
+ class FileSavePickerUI(winrt.system.Object):
52
+ @staticmethod
53
+ def _from(obj: winrt.system.Object, /) -> FileSavePickerUI: ...
54
+ def try_set_file_name(self, value: str, /) -> SetFileNameResult: ...
55
+ def add_file_name_changed(self, handler: windows_foundation.TypedEventHandler[FileSavePickerUI, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
56
+ def remove_file_name_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
57
+ def add_target_file_requested(self, handler: windows_foundation.TypedEventHandler[FileSavePickerUI, TargetFileRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
58
+ def remove_target_file_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
59
+ @_property
60
+ def title(self) -> str: ...
61
+ @title.setter
62
+ def title(self, value: str) -> None: ...
63
+ @_property
64
+ def allowed_file_types(self) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
65
+ @_property
66
+ def file_name(self) -> str: ...
67
+ @_property
68
+ def settings_identifier(self) -> str: ...
69
+
70
+ @typing.final
71
+ class PickerClosingDeferral(winrt.system.Object):
72
+ @staticmethod
73
+ def _from(obj: winrt.system.Object, /) -> PickerClosingDeferral: ...
74
+ def complete(self) -> None: ...
75
+
76
+ @typing.final
77
+ class PickerClosingEventArgs(winrt.system.Object):
78
+ @staticmethod
79
+ def _from(obj: winrt.system.Object, /) -> PickerClosingEventArgs: ...
80
+ @_property
81
+ def closing_operation(self) -> typing.Optional[PickerClosingOperation]: ...
82
+ @_property
83
+ def is_canceled(self) -> bool: ...
84
+
85
+ @typing.final
86
+ class PickerClosingOperation(winrt.system.Object):
87
+ @staticmethod
88
+ def _from(obj: winrt.system.Object, /) -> PickerClosingOperation: ...
89
+ def get_deferral(self) -> typing.Optional[PickerClosingDeferral]: ...
90
+ @_property
91
+ def deadline(self) -> datetime.datetime: ...
92
+
93
+ @typing.final
94
+ class TargetFileRequest(winrt.system.Object):
95
+ @staticmethod
96
+ def _from(obj: winrt.system.Object, /) -> TargetFileRequest: ...
97
+ def get_deferral(self) -> typing.Optional[TargetFileRequestDeferral]: ...
98
+ @_property
99
+ def target_file(self) -> typing.Optional[windows_storage.IStorageFile]: ...
100
+ @target_file.setter
101
+ def target_file(self, value: typing.Optional[windows_storage.IStorageFile]) -> None: ...
102
+
103
+ @typing.final
104
+ class TargetFileRequestDeferral(winrt.system.Object):
105
+ @staticmethod
106
+ def _from(obj: winrt.system.Object, /) -> TargetFileRequestDeferral: ...
107
+ def complete(self) -> None: ...
108
+
109
+ @typing.final
110
+ class TargetFileRequestedEventArgs(winrt.system.Object):
111
+ @staticmethod
112
+ def _from(obj: winrt.system.Object, /) -> TargetFileRequestedEventArgs: ...
113
+ @_property
114
+ def request(self) -> typing.Optional[TargetFileRequest]: ...
115
+
@@ -0,0 +1,46 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt import _winrt_windows_storage_pickers_provider
7
+
8
+ __all__ = [
9
+ "AddFileResult",
10
+ "FileSelectionMode",
11
+ "SetFileNameResult",
12
+ "FileOpenPickerUI",
13
+ "FileRemovedEventArgs",
14
+ "FileSavePickerUI",
15
+ "PickerClosingDeferral",
16
+ "PickerClosingEventArgs",
17
+ "PickerClosingOperation",
18
+ "TargetFileRequest",
19
+ "TargetFileRequestDeferral",
20
+ "TargetFileRequestedEventArgs",
21
+ ]
22
+
23
+ class AddFileResult(enum.IntEnum):
24
+ ADDED = 0
25
+ ALREADY_ADDED = 1
26
+ NOT_ALLOWED = 2
27
+ UNAVAILABLE = 3
28
+
29
+ class FileSelectionMode(enum.IntEnum):
30
+ SINGLE = 0
31
+ MULTIPLE = 1
32
+
33
+ class SetFileNameResult(enum.IntEnum):
34
+ SUCCEEDED = 0
35
+ NOT_ALLOWED = 1
36
+ UNAVAILABLE = 2
37
+
38
+ FileOpenPickerUI = _winrt_windows_storage_pickers_provider.FileOpenPickerUI
39
+ FileRemovedEventArgs = _winrt_windows_storage_pickers_provider.FileRemovedEventArgs
40
+ FileSavePickerUI = _winrt_windows_storage_pickers_provider.FileSavePickerUI
41
+ PickerClosingDeferral = _winrt_windows_storage_pickers_provider.PickerClosingDeferral
42
+ PickerClosingEventArgs = _winrt_windows_storage_pickers_provider.PickerClosingEventArgs
43
+ PickerClosingOperation = _winrt_windows_storage_pickers_provider.PickerClosingOperation
44
+ TargetFileRequest = _winrt_windows_storage_pickers_provider.TargetFileRequest
45
+ TargetFileRequestDeferral = _winrt_windows_storage_pickers_provider.TargetFileRequestDeferral
46
+ TargetFileRequestedEventArgs = _winrt_windows_storage_pickers_provider.TargetFileRequestedEventArgs
File without changes
@@ -0,0 +1,27 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Storage.Pickers.Provider
3
+ Version: 2.2.0
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: Implementation :: CPython
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: <3.14,>=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime ==2.2.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Storage[all] ==2.2.0 ; extra == 'all'
20
+
21
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
22
+
23
+ # winrt-Windows.Storage.Pickers.Provider
24
+
25
+ Windows Runtime (WinRT) APIs for for the `Windows.Storage.Pickers.Provider` namespace.
26
+
27
+ This package provides the `winrt.windows.storage.pickers.provider` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_storage_pickers_provider.cp313-win_amd64.pyd,sha256=XmY5-EoZ3zmK05mbGARIcMJNVJ9BeeEuPyOYJ5hjKZk,106496
2
+ winrt/_winrt_windows_storage_pickers_provider.pyi,sha256=igwGZ2sfKeLRtv3Fm8y04o4RC3SOjAy2hlQqHoNZt_M,4928
3
+ winrt/windows/storage/pickers/provider/__init__.py,sha256=-MqzaHcu0vVYHnC5Q-bT8sEWnQlvBH3fcOFWyYDMWqA,1570
4
+ winrt/windows/storage/pickers/provider/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.Storage.Pickers.Provider-2.2.0.dist-info/METADATA,sha256=dSxWbYWYn1zZ68FbKdPyqes8Qa7Mu8ifPLRco9adRE0,1230
6
+ winrt_Windows.Storage.Pickers.Provider-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
7
+ winrt_Windows.Storage.Pickers.Provider-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.Storage.Pickers.Provider-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win_amd64
5
+