winrt-Windows.ApplicationModel.Search 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.
- winrt/_winrt_windows_applicationmodel_search.cp313-win_amd64.pyd +0 -0
- winrt/_winrt_windows_applicationmodel_search.pyi +210 -0
- winrt/windows/applicationmodel/search/__init__.py +38 -0
- winrt/windows/applicationmodel/search/py.typed +0 -0
- winrt_Windows.ApplicationModel.Search-2.2.0.dist-info/METADATA +28 -0
- winrt_Windows.ApplicationModel.Search-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.ApplicationModel.Search-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.ApplicationModel.Search-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,210 @@
|
|
|
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
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
16
|
+
|
|
17
|
+
Self = typing.TypeVar('Self')
|
|
18
|
+
|
|
19
|
+
@typing.final
|
|
20
|
+
class LocalContentSuggestionSettings(winrt.system.Object):
|
|
21
|
+
@staticmethod
|
|
22
|
+
def _from(obj: winrt.system.Object, /) -> LocalContentSuggestionSettings: ...
|
|
23
|
+
def __new__(cls: typing.Type[LocalContentSuggestionSettings]) -> LocalContentSuggestionSettings: ...
|
|
24
|
+
@_property
|
|
25
|
+
def enabled(self) -> bool: ...
|
|
26
|
+
@enabled.setter
|
|
27
|
+
def enabled(self, value: bool) -> None: ...
|
|
28
|
+
@_property
|
|
29
|
+
def aqs_filter(self) -> str: ...
|
|
30
|
+
@aqs_filter.setter
|
|
31
|
+
def aqs_filter(self, value: str) -> None: ...
|
|
32
|
+
@_property
|
|
33
|
+
def locations(self) -> typing.Optional[windows_foundation_collections.IVector[windows_storage.StorageFolder]]: ...
|
|
34
|
+
@_property
|
|
35
|
+
def properties_to_match(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
|
|
36
|
+
|
|
37
|
+
@typing.final
|
|
38
|
+
class SearchPane_Static(type):
|
|
39
|
+
def get_for_current_view(cls) -> typing.Optional[SearchPane]: ...
|
|
40
|
+
def hide_this_application(cls) -> None: ...
|
|
41
|
+
|
|
42
|
+
@typing.final
|
|
43
|
+
class SearchPane(winrt.system.Object, metaclass=SearchPane_Static):
|
|
44
|
+
@staticmethod
|
|
45
|
+
def _from(obj: winrt.system.Object, /) -> SearchPane: ...
|
|
46
|
+
def set_local_content_suggestion_settings(self, settings: typing.Optional[LocalContentSuggestionSettings], /) -> None: ...
|
|
47
|
+
@typing.overload
|
|
48
|
+
def show(self) -> None: ...
|
|
49
|
+
@typing.overload
|
|
50
|
+
def show(self, query: str, /) -> None: ...
|
|
51
|
+
def try_set_query_text(self, query: str, /) -> bool: ...
|
|
52
|
+
def add_query_changed(self, handler: windows_foundation.TypedEventHandler[SearchPane, SearchPaneQueryChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
53
|
+
def remove_query_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
54
|
+
def add_query_submitted(self, handler: windows_foundation.TypedEventHandler[SearchPane, SearchPaneQuerySubmittedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
55
|
+
def remove_query_submitted(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
56
|
+
def add_result_suggestion_chosen(self, handler: windows_foundation.TypedEventHandler[SearchPane, SearchPaneResultSuggestionChosenEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
57
|
+
def remove_result_suggestion_chosen(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
58
|
+
def add_suggestions_requested(self, handler: windows_foundation.TypedEventHandler[SearchPane, SearchPaneSuggestionsRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
59
|
+
def remove_suggestions_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
60
|
+
def add_visibility_changed(self, handler: windows_foundation.TypedEventHandler[SearchPane, SearchPaneVisibilityChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
61
|
+
def remove_visibility_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
62
|
+
@_property
|
|
63
|
+
def show_on_keyboard_input(self) -> bool: ...
|
|
64
|
+
@show_on_keyboard_input.setter
|
|
65
|
+
def show_on_keyboard_input(self, value: bool) -> None: ...
|
|
66
|
+
@_property
|
|
67
|
+
def search_history_enabled(self) -> bool: ...
|
|
68
|
+
@search_history_enabled.setter
|
|
69
|
+
def search_history_enabled(self, value: bool) -> None: ...
|
|
70
|
+
@_property
|
|
71
|
+
def search_history_context(self) -> str: ...
|
|
72
|
+
@search_history_context.setter
|
|
73
|
+
def search_history_context(self, value: str) -> None: ...
|
|
74
|
+
@_property
|
|
75
|
+
def placeholder_text(self) -> str: ...
|
|
76
|
+
@placeholder_text.setter
|
|
77
|
+
def placeholder_text(self, value: str) -> None: ...
|
|
78
|
+
@_property
|
|
79
|
+
def language(self) -> str: ...
|
|
80
|
+
@_property
|
|
81
|
+
def query_text(self) -> str: ...
|
|
82
|
+
@_property
|
|
83
|
+
def visible(self) -> bool: ...
|
|
84
|
+
|
|
85
|
+
@typing.final
|
|
86
|
+
class SearchPaneQueryChangedEventArgs(winrt.system.Object):
|
|
87
|
+
@staticmethod
|
|
88
|
+
def _from(obj: winrt.system.Object, /) -> SearchPaneQueryChangedEventArgs: ...
|
|
89
|
+
@_property
|
|
90
|
+
def language(self) -> str: ...
|
|
91
|
+
@_property
|
|
92
|
+
def linguistic_details(self) -> typing.Optional[SearchPaneQueryLinguisticDetails]: ...
|
|
93
|
+
@_property
|
|
94
|
+
def query_text(self) -> str: ...
|
|
95
|
+
|
|
96
|
+
@typing.final
|
|
97
|
+
class SearchPaneQueryLinguisticDetails(winrt.system.Object):
|
|
98
|
+
@staticmethod
|
|
99
|
+
def _from(obj: winrt.system.Object, /) -> SearchPaneQueryLinguisticDetails: ...
|
|
100
|
+
@_property
|
|
101
|
+
def query_text_alternatives(self) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
|
|
102
|
+
@_property
|
|
103
|
+
def query_text_composition_length(self) -> winrt.system.UInt32: ...
|
|
104
|
+
@_property
|
|
105
|
+
def query_text_composition_start(self) -> winrt.system.UInt32: ...
|
|
106
|
+
|
|
107
|
+
@typing.final
|
|
108
|
+
class SearchPaneQuerySubmittedEventArgs(winrt.system.Object):
|
|
109
|
+
@staticmethod
|
|
110
|
+
def _from(obj: winrt.system.Object, /) -> SearchPaneQuerySubmittedEventArgs: ...
|
|
111
|
+
@_property
|
|
112
|
+
def language(self) -> str: ...
|
|
113
|
+
@_property
|
|
114
|
+
def query_text(self) -> str: ...
|
|
115
|
+
@_property
|
|
116
|
+
def linguistic_details(self) -> typing.Optional[SearchPaneQueryLinguisticDetails]: ...
|
|
117
|
+
|
|
118
|
+
@typing.final
|
|
119
|
+
class SearchPaneResultSuggestionChosenEventArgs(winrt.system.Object):
|
|
120
|
+
@staticmethod
|
|
121
|
+
def _from(obj: winrt.system.Object, /) -> SearchPaneResultSuggestionChosenEventArgs: ...
|
|
122
|
+
@_property
|
|
123
|
+
def tag(self) -> str: ...
|
|
124
|
+
|
|
125
|
+
@typing.final
|
|
126
|
+
class SearchPaneSuggestionsRequest(winrt.system.Object):
|
|
127
|
+
@staticmethod
|
|
128
|
+
def _from(obj: winrt.system.Object, /) -> SearchPaneSuggestionsRequest: ...
|
|
129
|
+
def get_deferral(self) -> typing.Optional[SearchPaneSuggestionsRequestDeferral]: ...
|
|
130
|
+
@_property
|
|
131
|
+
def is_canceled(self) -> bool: ...
|
|
132
|
+
@_property
|
|
133
|
+
def search_suggestion_collection(self) -> typing.Optional[SearchSuggestionCollection]: ...
|
|
134
|
+
|
|
135
|
+
@typing.final
|
|
136
|
+
class SearchPaneSuggestionsRequestDeferral(winrt.system.Object):
|
|
137
|
+
@staticmethod
|
|
138
|
+
def _from(obj: winrt.system.Object, /) -> SearchPaneSuggestionsRequestDeferral: ...
|
|
139
|
+
def complete(self) -> None: ...
|
|
140
|
+
|
|
141
|
+
@typing.final
|
|
142
|
+
class SearchPaneSuggestionsRequestedEventArgs(winrt.system.Object):
|
|
143
|
+
@staticmethod
|
|
144
|
+
def _from(obj: winrt.system.Object, /) -> SearchPaneSuggestionsRequestedEventArgs: ...
|
|
145
|
+
@_property
|
|
146
|
+
def language(self) -> str: ...
|
|
147
|
+
@_property
|
|
148
|
+
def linguistic_details(self) -> typing.Optional[SearchPaneQueryLinguisticDetails]: ...
|
|
149
|
+
@_property
|
|
150
|
+
def query_text(self) -> str: ...
|
|
151
|
+
@_property
|
|
152
|
+
def request(self) -> typing.Optional[SearchPaneSuggestionsRequest]: ...
|
|
153
|
+
|
|
154
|
+
@typing.final
|
|
155
|
+
class SearchPaneVisibilityChangedEventArgs(winrt.system.Object):
|
|
156
|
+
@staticmethod
|
|
157
|
+
def _from(obj: winrt.system.Object, /) -> SearchPaneVisibilityChangedEventArgs: ...
|
|
158
|
+
@_property
|
|
159
|
+
def visible(self) -> bool: ...
|
|
160
|
+
|
|
161
|
+
@typing.final
|
|
162
|
+
class SearchQueryLinguisticDetails(winrt.system.Object):
|
|
163
|
+
@staticmethod
|
|
164
|
+
def _from(obj: winrt.system.Object, /) -> SearchQueryLinguisticDetails: ...
|
|
165
|
+
def __new__(cls: typing.Type[SearchQueryLinguisticDetails], query_text_alternatives: typing.Iterable[str], query_text_composition_start: winrt.system.UInt32, query_text_composition_length: winrt.system.UInt32) -> SearchQueryLinguisticDetails: ...
|
|
166
|
+
@_property
|
|
167
|
+
def query_text_alternatives(self) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
|
|
168
|
+
@_property
|
|
169
|
+
def query_text_composition_length(self) -> winrt.system.UInt32: ...
|
|
170
|
+
@_property
|
|
171
|
+
def query_text_composition_start(self) -> winrt.system.UInt32: ...
|
|
172
|
+
|
|
173
|
+
@typing.final
|
|
174
|
+
class SearchSuggestionCollection(winrt.system.Object):
|
|
175
|
+
@staticmethod
|
|
176
|
+
def _from(obj: winrt.system.Object, /) -> SearchSuggestionCollection: ...
|
|
177
|
+
def append_query_suggestion(self, text: str, /) -> None: ...
|
|
178
|
+
def append_query_suggestions(self, suggestions: typing.Iterable[str], /) -> None: ...
|
|
179
|
+
def append_result_suggestion(self, text: str, detail_text: str, tag: str, image: typing.Optional[windows_storage_streams.IRandomAccessStreamReference], image_alternate_text: str, /) -> None: ...
|
|
180
|
+
def append_search_separator(self, label: str, /) -> None: ...
|
|
181
|
+
@_property
|
|
182
|
+
def size(self) -> winrt.system.UInt32: ...
|
|
183
|
+
|
|
184
|
+
@typing.final
|
|
185
|
+
class SearchSuggestionsRequest(winrt.system.Object):
|
|
186
|
+
@staticmethod
|
|
187
|
+
def _from(obj: winrt.system.Object, /) -> SearchSuggestionsRequest: ...
|
|
188
|
+
def get_deferral(self) -> typing.Optional[SearchSuggestionsRequestDeferral]: ...
|
|
189
|
+
@_property
|
|
190
|
+
def is_canceled(self) -> bool: ...
|
|
191
|
+
@_property
|
|
192
|
+
def search_suggestion_collection(self) -> typing.Optional[SearchSuggestionCollection]: ...
|
|
193
|
+
|
|
194
|
+
@typing.final
|
|
195
|
+
class SearchSuggestionsRequestDeferral(winrt.system.Object):
|
|
196
|
+
@staticmethod
|
|
197
|
+
def _from(obj: winrt.system.Object, /) -> SearchSuggestionsRequestDeferral: ...
|
|
198
|
+
def complete(self) -> None: ...
|
|
199
|
+
|
|
200
|
+
@typing.final
|
|
201
|
+
class ISearchPaneQueryChangedEventArgs(winrt.system.Object):
|
|
202
|
+
@staticmethod
|
|
203
|
+
def _from(obj: winrt.system.Object, /) -> ISearchPaneQueryChangedEventArgs: ...
|
|
204
|
+
@_property
|
|
205
|
+
def language(self) -> str: ...
|
|
206
|
+
@_property
|
|
207
|
+
def linguistic_details(self) -> typing.Optional[SearchPaneQueryLinguisticDetails]: ...
|
|
208
|
+
@_property
|
|
209
|
+
def query_text(self) -> str: ...
|
|
210
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import winrt.system
|
|
4
|
+
from winrt import _winrt_windows_applicationmodel_search
|
|
5
|
+
|
|
6
|
+
__all__ = [
|
|
7
|
+
"LocalContentSuggestionSettings",
|
|
8
|
+
"SearchPane",
|
|
9
|
+
"SearchPaneQueryChangedEventArgs",
|
|
10
|
+
"SearchPaneQueryLinguisticDetails",
|
|
11
|
+
"SearchPaneQuerySubmittedEventArgs",
|
|
12
|
+
"SearchPaneResultSuggestionChosenEventArgs",
|
|
13
|
+
"SearchPaneSuggestionsRequest",
|
|
14
|
+
"SearchPaneSuggestionsRequestDeferral",
|
|
15
|
+
"SearchPaneSuggestionsRequestedEventArgs",
|
|
16
|
+
"SearchPaneVisibilityChangedEventArgs",
|
|
17
|
+
"SearchQueryLinguisticDetails",
|
|
18
|
+
"SearchSuggestionCollection",
|
|
19
|
+
"SearchSuggestionsRequest",
|
|
20
|
+
"SearchSuggestionsRequestDeferral",
|
|
21
|
+
"ISearchPaneQueryChangedEventArgs",
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
LocalContentSuggestionSettings = _winrt_windows_applicationmodel_search.LocalContentSuggestionSettings
|
|
25
|
+
SearchPane = _winrt_windows_applicationmodel_search.SearchPane
|
|
26
|
+
SearchPaneQueryChangedEventArgs = _winrt_windows_applicationmodel_search.SearchPaneQueryChangedEventArgs
|
|
27
|
+
SearchPaneQueryLinguisticDetails = _winrt_windows_applicationmodel_search.SearchPaneQueryLinguisticDetails
|
|
28
|
+
SearchPaneQuerySubmittedEventArgs = _winrt_windows_applicationmodel_search.SearchPaneQuerySubmittedEventArgs
|
|
29
|
+
SearchPaneResultSuggestionChosenEventArgs = _winrt_windows_applicationmodel_search.SearchPaneResultSuggestionChosenEventArgs
|
|
30
|
+
SearchPaneSuggestionsRequest = _winrt_windows_applicationmodel_search.SearchPaneSuggestionsRequest
|
|
31
|
+
SearchPaneSuggestionsRequestDeferral = _winrt_windows_applicationmodel_search.SearchPaneSuggestionsRequestDeferral
|
|
32
|
+
SearchPaneSuggestionsRequestedEventArgs = _winrt_windows_applicationmodel_search.SearchPaneSuggestionsRequestedEventArgs
|
|
33
|
+
SearchPaneVisibilityChangedEventArgs = _winrt_windows_applicationmodel_search.SearchPaneVisibilityChangedEventArgs
|
|
34
|
+
SearchQueryLinguisticDetails = _winrt_windows_applicationmodel_search.SearchQueryLinguisticDetails
|
|
35
|
+
SearchSuggestionCollection = _winrt_windows_applicationmodel_search.SearchSuggestionCollection
|
|
36
|
+
SearchSuggestionsRequest = _winrt_windows_applicationmodel_search.SearchSuggestionsRequest
|
|
37
|
+
SearchSuggestionsRequestDeferral = _winrt_windows_applicationmodel_search.SearchSuggestionsRequestDeferral
|
|
38
|
+
ISearchPaneQueryChangedEventArgs = _winrt_windows_applicationmodel_search.ISearchPaneQueryChangedEventArgs
|
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.Search
|
|
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
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
|
|
21
|
+
|
|
22
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
|
+
|
|
24
|
+
# winrt-Windows.ApplicationModel.Search
|
|
25
|
+
|
|
26
|
+
Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Search` namespace.
|
|
27
|
+
|
|
28
|
+
This package provides the `winrt.windows.applicationmodel.search` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_applicationmodel_search.cp313-win_amd64.pyd,sha256=QyIt3dOtEBB850eF6TTUysh3eR7Qb-o5y0g8dgdT9Ys,202240
|
|
2
|
+
winrt/_winrt_windows_applicationmodel_search.pyi,sha256=fAtxo8FrTumLZ-YFoBg5E5vPuSdsvpexTC3R2ZNExTg,9416
|
|
3
|
+
winrt/windows/applicationmodel/search/__init__.py,sha256=lNK2bZjS9IfSGwa-lubLWKQSW3-M41SZt_RcIP2dh2o,2313
|
|
4
|
+
winrt/windows/applicationmodel/search/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.ApplicationModel.Search-2.2.0.dist-info/METADATA,sha256=7eAi7Wf4wMbCvya2UkFYdlbgMd8XcdWnl7o7BE5ESYQ,1302
|
|
6
|
+
winrt_Windows.ApplicationModel.Search-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
|
|
7
|
+
winrt_Windows.ApplicationModel.Search-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.ApplicationModel.Search-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|