winrt-Windows.ApplicationModel.Search 4!10.0.28000.2705__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.
@@ -0,0 +1,27 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import winrt.runtime._internals
4
+ import winrt.system
5
+
6
+ winrt.runtime._internals.load_projection(__spec__)
7
+
8
+ __all__ = [
9
+ "LocalContentSuggestionSettings",
10
+ "SearchPane",
11
+ "SearchPaneQueryChangedEventArgs",
12
+ "SearchPaneQueryLinguisticDetails",
13
+ "SearchPaneQuerySubmittedEventArgs",
14
+ "SearchPaneResultSuggestionChosenEventArgs",
15
+ "SearchPaneSuggestionsRequest",
16
+ "SearchPaneSuggestionsRequestDeferral",
17
+ "SearchPaneSuggestionsRequestedEventArgs",
18
+ "SearchPaneVisibilityChangedEventArgs",
19
+ "SearchQueryLinguisticDetails",
20
+ "SearchSuggestionCollection",
21
+ "SearchSuggestionsRequest",
22
+ "SearchSuggestionsRequestDeferral",
23
+ "ISearchPaneQueryChangedEventArgs",
24
+ ]
25
+
26
+ winrt.runtime._internals.alias_method(SearchPane, "show_overload_default", "show")
27
+ winrt.runtime._internals.alias_method(SearchPane, "show_overload_with_query", "show")
@@ -0,0 +1,350 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import collections.abc as _cabc
4
+ import typing
5
+ from builtins import property as _property
6
+ from abc import abstractmethod
7
+ from typing_extensions import deprecated
8
+
9
+ import winrt.system
10
+ import winrt.windows.foundation as windows_foundation
11
+ import winrt.windows.foundation.collections as windows_foundation_collections
12
+ import winrt.windows.storage as windows_storage
13
+ import winrt.windows.storage.streams as windows_storage_streams
14
+
15
+ __all__ = [
16
+ "LocalContentSuggestionSettings",
17
+ "SearchPane",
18
+ "SearchPaneQueryChangedEventArgs",
19
+ "SearchPaneQueryLinguisticDetails",
20
+ "SearchPaneQuerySubmittedEventArgs",
21
+ "SearchPaneResultSuggestionChosenEventArgs",
22
+ "SearchPaneSuggestionsRequest",
23
+ "SearchPaneSuggestionsRequestDeferral",
24
+ "SearchPaneSuggestionsRequestedEventArgs",
25
+ "SearchPaneVisibilityChangedEventArgs",
26
+ "SearchQueryLinguisticDetails",
27
+ "SearchSuggestionCollection",
28
+ "SearchSuggestionsRequest",
29
+ "SearchSuggestionsRequestDeferral",
30
+ "ISearchPaneQueryChangedEventArgs",
31
+ ]
32
+
33
+ @typing.final
34
+ class LocalContentSuggestionSettings(winrt.system.Object):
35
+ def __new__(cls) -> typing.Self: ...
36
+ # System.Boolean Windows.ApplicationModel.Search.LocalContentSuggestionSettings::get_Enabled()
37
+ @_property
38
+ def enabled(self) -> bool: ...
39
+ # System.Void Windows.ApplicationModel.Search.LocalContentSuggestionSettings::put_Enabled(System.Boolean)
40
+ @enabled.setter
41
+ def enabled(self, value: bool) -> None: ...
42
+ # System.String Windows.ApplicationModel.Search.LocalContentSuggestionSettings::get_AqsFilter()
43
+ @_property
44
+ def aqs_filter(self) -> str: ...
45
+ # System.Void Windows.ApplicationModel.Search.LocalContentSuggestionSettings::put_AqsFilter(System.String)
46
+ @aqs_filter.setter
47
+ def aqs_filter(self, value: str) -> None: ...
48
+ # Windows.Foundation.Collections.IVector`1<Windows.Storage.StorageFolder> Windows.ApplicationModel.Search.LocalContentSuggestionSettings::get_Locations()
49
+ @_property
50
+ def locations(self) -> _cabc.MutableSequence[windows_storage.StorageFolder]: ...
51
+ # Windows.Foundation.Collections.IVector`1<System.String> Windows.ApplicationModel.Search.LocalContentSuggestionSettings::get_PropertiesToMatch()
52
+ @_property
53
+ def properties_to_match(self) -> _cabc.MutableSequence[str]: ...
54
+
55
+ @typing.final
56
+ class SearchPane_Static(winrt.system.Object_Static):
57
+ # Windows.ApplicationModel.Search.SearchPane Windows.ApplicationModel.Search.SearchPane::GetForCurrentView()
58
+ @deprecated("ISearchPaneStatics may be altered or unavailable for releases after Windows 10.")
59
+ def get_for_current_view(cls) -> SearchPane: ...
60
+ # System.Void Windows.ApplicationModel.Search.SearchPane::HideThisApplication()
61
+ @deprecated("ISearchPaneStaticsWithHideThisApplication may be altered or unavailable for releases after Windows 10.")
62
+ def hide_this_application(cls) -> None: ...
63
+
64
+ @typing.final
65
+ @deprecated("SearchPane may be altered or unavailable for releases after Windows 10.")
66
+ class SearchPane(winrt.system.Object, metaclass=SearchPane_Static):
67
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
68
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
69
+ # System.Void Windows.ApplicationModel.Search.SearchPane::SetLocalContentSuggestionSettings(Windows.ApplicationModel.Search.LocalContentSuggestionSettings)
70
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
71
+ def set_local_content_suggestion_settings(self, settings: LocalContentSuggestionSettings, /) -> None: ...
72
+ @typing.overload
73
+ # System.Void Windows.ApplicationModel.Search.SearchPane::Show()
74
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
75
+ def show(self) -> None: ...
76
+ @typing.overload
77
+ # System.Void Windows.ApplicationModel.Search.SearchPane::Show(System.String)
78
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
79
+ def show(self, query: str, /) -> None: ...
80
+ # Deprecated alias of show() for pywinrt v3.x compatibility.
81
+ # System.Void Windows.ApplicationModel.Search.SearchPane::Show()
82
+ @deprecated("Use show() instead.")
83
+ def show_overload_default(self) -> None: ...
84
+ # Deprecated alias of show() for pywinrt v3.x compatibility.
85
+ # System.Void Windows.ApplicationModel.Search.SearchPane::Show(System.String)
86
+ @deprecated("Use show() instead.")
87
+ def show_overload_with_query(self, query: str, /) -> None: ...
88
+ # System.Boolean Windows.ApplicationModel.Search.SearchPane::TrySetQueryText(System.String)
89
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
90
+ def try_set_query_text(self, query: str, /) -> bool: ...
91
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Search.SearchPane::add_QueryChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Search.SearchPane,Windows.ApplicationModel.Search.SearchPaneQueryChangedEventArgs>)
92
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
93
+ def add_query_changed(self, handler: windows_foundation.TypedEventHandler[SearchPane, SearchPaneQueryChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
94
+ # System.Void Windows.ApplicationModel.Search.SearchPane::remove_QueryChanged(Windows.Foundation.EventRegistrationToken)
95
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
96
+ def remove_query_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
97
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Search.SearchPane::add_QuerySubmitted(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Search.SearchPane,Windows.ApplicationModel.Search.SearchPaneQuerySubmittedEventArgs>)
98
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
99
+ def add_query_submitted(self, handler: windows_foundation.TypedEventHandler[SearchPane, SearchPaneQuerySubmittedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
100
+ # System.Void Windows.ApplicationModel.Search.SearchPane::remove_QuerySubmitted(Windows.Foundation.EventRegistrationToken)
101
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
102
+ def remove_query_submitted(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
103
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Search.SearchPane::add_ResultSuggestionChosen(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Search.SearchPane,Windows.ApplicationModel.Search.SearchPaneResultSuggestionChosenEventArgs>)
104
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
105
+ def add_result_suggestion_chosen(self, handler: windows_foundation.TypedEventHandler[SearchPane, SearchPaneResultSuggestionChosenEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
106
+ # System.Void Windows.ApplicationModel.Search.SearchPane::remove_ResultSuggestionChosen(Windows.Foundation.EventRegistrationToken)
107
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
108
+ def remove_result_suggestion_chosen(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
109
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Search.SearchPane::add_SuggestionsRequested(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Search.SearchPane,Windows.ApplicationModel.Search.SearchPaneSuggestionsRequestedEventArgs>)
110
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
111
+ def add_suggestions_requested(self, handler: windows_foundation.TypedEventHandler[SearchPane, SearchPaneSuggestionsRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
112
+ # System.Void Windows.ApplicationModel.Search.SearchPane::remove_SuggestionsRequested(Windows.Foundation.EventRegistrationToken)
113
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
114
+ def remove_suggestions_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
115
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Search.SearchPane::add_VisibilityChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Search.SearchPane,Windows.ApplicationModel.Search.SearchPaneVisibilityChangedEventArgs>)
116
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
117
+ def add_visibility_changed(self, handler: windows_foundation.TypedEventHandler[SearchPane, SearchPaneVisibilityChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
118
+ # System.Void Windows.ApplicationModel.Search.SearchPane::remove_VisibilityChanged(Windows.Foundation.EventRegistrationToken)
119
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
120
+ def remove_visibility_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
121
+ # System.Boolean Windows.ApplicationModel.Search.SearchPane::get_ShowOnKeyboardInput()
122
+ @_property
123
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
124
+ def show_on_keyboard_input(self) -> bool: ...
125
+ # System.Void Windows.ApplicationModel.Search.SearchPane::put_ShowOnKeyboardInput(System.Boolean)
126
+ @show_on_keyboard_input.setter
127
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
128
+ def show_on_keyboard_input(self, value: bool) -> None: ...
129
+ # System.Boolean Windows.ApplicationModel.Search.SearchPane::get_SearchHistoryEnabled()
130
+ @_property
131
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
132
+ def search_history_enabled(self) -> bool: ...
133
+ # System.Void Windows.ApplicationModel.Search.SearchPane::put_SearchHistoryEnabled(System.Boolean)
134
+ @search_history_enabled.setter
135
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
136
+ def search_history_enabled(self, value: bool) -> None: ...
137
+ # System.String Windows.ApplicationModel.Search.SearchPane::get_SearchHistoryContext()
138
+ @_property
139
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
140
+ def search_history_context(self) -> str: ...
141
+ # System.Void Windows.ApplicationModel.Search.SearchPane::put_SearchHistoryContext(System.String)
142
+ @search_history_context.setter
143
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
144
+ def search_history_context(self, value: str) -> None: ...
145
+ # System.String Windows.ApplicationModel.Search.SearchPane::get_PlaceholderText()
146
+ @_property
147
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
148
+ def placeholder_text(self) -> str: ...
149
+ # System.Void Windows.ApplicationModel.Search.SearchPane::put_PlaceholderText(System.String)
150
+ @placeholder_text.setter
151
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
152
+ def placeholder_text(self, value: str) -> None: ...
153
+ # System.String Windows.ApplicationModel.Search.SearchPane::get_Language()
154
+ @_property
155
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
156
+ def language(self) -> str: ...
157
+ # System.String Windows.ApplicationModel.Search.SearchPane::get_QueryText()
158
+ @_property
159
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
160
+ def query_text(self) -> str: ...
161
+ # System.Boolean Windows.ApplicationModel.Search.SearchPane::get_Visible()
162
+ @_property
163
+ @deprecated("ISearchPane may be altered or unavailable for releases after Windows 10.")
164
+ def visible(self) -> bool: ...
165
+
166
+ @typing.final
167
+ @deprecated("SearchPaneQueryChangedEventArgs may be altered or unavailable for releases after Windows 10.")
168
+ class SearchPaneQueryChangedEventArgs(ISearchPaneQueryChangedEventArgs, winrt.system.Object):
169
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
170
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
171
+ # System.String Windows.ApplicationModel.Search.SearchPaneQueryChangedEventArgs::get_Language()
172
+ @_property
173
+ @deprecated("ISearchPaneQueryChangedEventArgs may be altered or unavailable for releases after Windows 10.")
174
+ def language(self) -> str: ...
175
+ # Windows.ApplicationModel.Search.SearchPaneQueryLinguisticDetails Windows.ApplicationModel.Search.SearchPaneQueryChangedEventArgs::get_LinguisticDetails()
176
+ @_property
177
+ @deprecated("ISearchPaneQueryChangedEventArgs may be altered or unavailable for releases after Windows 10.")
178
+ def linguistic_details(self) -> SearchPaneQueryLinguisticDetails: ...
179
+ # System.String Windows.ApplicationModel.Search.SearchPaneQueryChangedEventArgs::get_QueryText()
180
+ @_property
181
+ @deprecated("ISearchPaneQueryChangedEventArgs may be altered or unavailable for releases after Windows 10.")
182
+ def query_text(self) -> str: ...
183
+
184
+ @typing.final
185
+ class SearchPaneQueryLinguisticDetails(winrt.system.Object):
186
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
187
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
188
+ # Windows.Foundation.Collections.IVectorView`1<System.String> Windows.ApplicationModel.Search.SearchPaneQueryLinguisticDetails::get_QueryTextAlternatives()
189
+ @_property
190
+ def query_text_alternatives(self) -> _cabc.Sequence[str]: ...
191
+ # System.UInt32 Windows.ApplicationModel.Search.SearchPaneQueryLinguisticDetails::get_QueryTextCompositionLength()
192
+ @_property
193
+ def query_text_composition_length(self) -> winrt.system.UInt32: ...
194
+ # System.UInt32 Windows.ApplicationModel.Search.SearchPaneQueryLinguisticDetails::get_QueryTextCompositionStart()
195
+ @_property
196
+ def query_text_composition_start(self) -> winrt.system.UInt32: ...
197
+
198
+ @typing.final
199
+ @deprecated("SearchPaneQuerySubmittedEventArgs may be altered or unavailable for releases after Windows 10.")
200
+ class SearchPaneQuerySubmittedEventArgs(winrt.system.Object):
201
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
202
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
203
+ # System.String Windows.ApplicationModel.Search.SearchPaneQuerySubmittedEventArgs::get_Language()
204
+ @_property
205
+ @deprecated("ISearchPaneQuerySubmittedEventArgs may be altered or unavailable for releases after Windows 10.")
206
+ def language(self) -> str: ...
207
+ # System.String Windows.ApplicationModel.Search.SearchPaneQuerySubmittedEventArgs::get_QueryText()
208
+ @_property
209
+ @deprecated("ISearchPaneQuerySubmittedEventArgs may be altered or unavailable for releases after Windows 10.")
210
+ def query_text(self) -> str: ...
211
+ # Windows.ApplicationModel.Search.SearchPaneQueryLinguisticDetails Windows.ApplicationModel.Search.SearchPaneQuerySubmittedEventArgs::get_LinguisticDetails()
212
+ @_property
213
+ @deprecated("ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails may be altered or unavailable for releases after Windows 10.")
214
+ def linguistic_details(self) -> SearchPaneQueryLinguisticDetails: ...
215
+
216
+ @typing.final
217
+ @deprecated("SearchPaneResultSuggestionChosenEventArgs may be altered or unavailable for releases after Windows 10.")
218
+ class SearchPaneResultSuggestionChosenEventArgs(winrt.system.Object):
219
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
220
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
221
+ # System.String Windows.ApplicationModel.Search.SearchPaneResultSuggestionChosenEventArgs::get_Tag()
222
+ @_property
223
+ @deprecated("ISearchPaneResultSuggestionChosenEventArgs may be altered or unavailable for releases after Windows 10.")
224
+ def tag(self) -> str: ...
225
+
226
+ @typing.final
227
+ @deprecated("SearchPaneSuggestionsRequest may be altered or unavailable for releases after Windows 10.")
228
+ class SearchPaneSuggestionsRequest(winrt.system.Object):
229
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
230
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
231
+ # Windows.ApplicationModel.Search.SearchPaneSuggestionsRequestDeferral Windows.ApplicationModel.Search.SearchPaneSuggestionsRequest::GetDeferral()
232
+ @deprecated("ISearchPaneSuggestionsRequest may be altered or unavailable for releases after Windows 10.")
233
+ def get_deferral(self) -> SearchPaneSuggestionsRequestDeferral: ...
234
+ # System.Boolean Windows.ApplicationModel.Search.SearchPaneSuggestionsRequest::get_IsCanceled()
235
+ @_property
236
+ @deprecated("ISearchPaneSuggestionsRequest may be altered or unavailable for releases after Windows 10.")
237
+ def is_canceled(self) -> bool: ...
238
+ # Windows.ApplicationModel.Search.SearchSuggestionCollection Windows.ApplicationModel.Search.SearchPaneSuggestionsRequest::get_SearchSuggestionCollection()
239
+ @_property
240
+ @deprecated("ISearchPaneSuggestionsRequest may be altered or unavailable for releases after Windows 10.")
241
+ def search_suggestion_collection(self) -> SearchSuggestionCollection: ...
242
+
243
+ @typing.final
244
+ @deprecated("SearchPaneSuggestionsRequestDeferral may be altered or unavailable for releases after Windows 10.")
245
+ class SearchPaneSuggestionsRequestDeferral(winrt.system.Object):
246
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
247
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
248
+ # System.Void Windows.ApplicationModel.Search.SearchPaneSuggestionsRequestDeferral::Complete()
249
+ @deprecated("ISearchPaneSuggestionsRequestDeferral may be altered or unavailable for releases after Windows 10.")
250
+ def complete(self) -> None: ...
251
+
252
+ @typing.final
253
+ @deprecated("SearchPaneSuggestionsRequestedEventArgs may be altered or unavailable for releases after Windows 10.")
254
+ class SearchPaneSuggestionsRequestedEventArgs(ISearchPaneQueryChangedEventArgs, winrt.system.Object):
255
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
256
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
257
+ # System.String Windows.ApplicationModel.Search.SearchPaneSuggestionsRequestedEventArgs::get_Language()
258
+ @_property
259
+ @deprecated("ISearchPaneQueryChangedEventArgs may be altered or unavailable for releases after Windows 10.")
260
+ def language(self) -> str: ...
261
+ # Windows.ApplicationModel.Search.SearchPaneQueryLinguisticDetails Windows.ApplicationModel.Search.SearchPaneSuggestionsRequestedEventArgs::get_LinguisticDetails()
262
+ @_property
263
+ @deprecated("ISearchPaneQueryChangedEventArgs may be altered or unavailable for releases after Windows 10.")
264
+ def linguistic_details(self) -> SearchPaneQueryLinguisticDetails: ...
265
+ # System.String Windows.ApplicationModel.Search.SearchPaneSuggestionsRequestedEventArgs::get_QueryText()
266
+ @_property
267
+ @deprecated("ISearchPaneQueryChangedEventArgs may be altered or unavailable for releases after Windows 10.")
268
+ def query_text(self) -> str: ...
269
+ # Windows.ApplicationModel.Search.SearchPaneSuggestionsRequest Windows.ApplicationModel.Search.SearchPaneSuggestionsRequestedEventArgs::get_Request()
270
+ @_property
271
+ @deprecated("ISearchPaneSuggestionsRequestedEventArgs may be altered or unavailable for releases after Windows 10.")
272
+ def request(self) -> SearchPaneSuggestionsRequest: ...
273
+
274
+ @typing.final
275
+ @deprecated("SearchPaneVisibilityChangedEventArgs may be altered or unavailable for releases after Windows 10.")
276
+ class SearchPaneVisibilityChangedEventArgs(winrt.system.Object):
277
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
278
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
279
+ # System.Boolean Windows.ApplicationModel.Search.SearchPaneVisibilityChangedEventArgs::get_Visible()
280
+ @_property
281
+ @deprecated("ISearchPaneVisibilityChangedEventArgs may be altered or unavailable for releases after Windows 10.")
282
+ def visible(self) -> bool: ...
283
+
284
+ @typing.final
285
+ class SearchQueryLinguisticDetails(winrt.system.Object):
286
+ def __new__(cls, query_text_alternatives: _cabc.Iterable[str], query_text_composition_start: winrt.system.UInt32 | typing.SupportsIndex, query_text_composition_length: winrt.system.UInt32 | typing.SupportsIndex, /) -> typing.Self: ...
287
+ # Windows.Foundation.Collections.IVectorView`1<System.String> Windows.ApplicationModel.Search.SearchQueryLinguisticDetails::get_QueryTextAlternatives()
288
+ @_property
289
+ def query_text_alternatives(self) -> _cabc.Sequence[str]: ...
290
+ # System.UInt32 Windows.ApplicationModel.Search.SearchQueryLinguisticDetails::get_QueryTextCompositionLength()
291
+ @_property
292
+ def query_text_composition_length(self) -> winrt.system.UInt32: ...
293
+ # System.UInt32 Windows.ApplicationModel.Search.SearchQueryLinguisticDetails::get_QueryTextCompositionStart()
294
+ @_property
295
+ def query_text_composition_start(self) -> winrt.system.UInt32: ...
296
+
297
+ @typing.final
298
+ class SearchSuggestionCollection(winrt.system.Object):
299
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
300
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
301
+ # System.Void Windows.ApplicationModel.Search.SearchSuggestionCollection::AppendQuerySuggestion(System.String)
302
+ def append_query_suggestion(self, text: str, /) -> None: ...
303
+ # System.Void Windows.ApplicationModel.Search.SearchSuggestionCollection::AppendQuerySuggestions(Windows.Foundation.Collections.IIterable`1<System.String>)
304
+ def append_query_suggestions(self, suggestions: _cabc.Iterable[str], /) -> None: ...
305
+ # System.Void Windows.ApplicationModel.Search.SearchSuggestionCollection::AppendResultSuggestion(System.String,System.String,System.String,Windows.Storage.Streams.IRandomAccessStreamReference,System.String)
306
+ def append_result_suggestion(self, text: str, detail_text: str, tag: str, image: windows_storage_streams.IRandomAccessStreamReference, image_alternate_text: str, /) -> None: ...
307
+ # System.Void Windows.ApplicationModel.Search.SearchSuggestionCollection::AppendSearchSeparator(System.String)
308
+ def append_search_separator(self, label: str, /) -> None: ...
309
+ # System.UInt32 Windows.ApplicationModel.Search.SearchSuggestionCollection::get_Size()
310
+ @_property
311
+ def size(self) -> winrt.system.UInt32: ...
312
+
313
+ @typing.final
314
+ class SearchSuggestionsRequest(winrt.system.Object):
315
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
316
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
317
+ # Windows.ApplicationModel.Search.SearchSuggestionsRequestDeferral Windows.ApplicationModel.Search.SearchSuggestionsRequest::GetDeferral()
318
+ def get_deferral(self) -> SearchSuggestionsRequestDeferral: ...
319
+ # System.Boolean Windows.ApplicationModel.Search.SearchSuggestionsRequest::get_IsCanceled()
320
+ @_property
321
+ def is_canceled(self) -> bool: ...
322
+ # Windows.ApplicationModel.Search.SearchSuggestionCollection Windows.ApplicationModel.Search.SearchSuggestionsRequest::get_SearchSuggestionCollection()
323
+ @_property
324
+ def search_suggestion_collection(self) -> SearchSuggestionCollection: ...
325
+
326
+ @typing.final
327
+ class SearchSuggestionsRequestDeferral(winrt.system.Object):
328
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
329
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
330
+ # System.Void Windows.ApplicationModel.Search.SearchSuggestionsRequestDeferral::Complete()
331
+ def complete(self) -> None: ...
332
+
333
+ @deprecated("ISearchPaneQueryChangedEventArgs may be altered or unavailable for releases after Windows 10.")
334
+ class ISearchPaneQueryChangedEventArgs(winrt.system.Object):
335
+ # System.String Windows.ApplicationModel.Search.ISearchPaneQueryChangedEventArgs::get_Language()
336
+ @_property
337
+ @deprecated("ISearchPaneQueryChangedEventArgs may be altered or unavailable for releases after Windows 10.")
338
+ @abstractmethod
339
+ def language(self) -> str: ...
340
+ # Windows.ApplicationModel.Search.SearchPaneQueryLinguisticDetails Windows.ApplicationModel.Search.ISearchPaneQueryChangedEventArgs::get_LinguisticDetails()
341
+ @_property
342
+ @deprecated("ISearchPaneQueryChangedEventArgs may be altered or unavailable for releases after Windows 10.")
343
+ @abstractmethod
344
+ def linguistic_details(self) -> SearchPaneQueryLinguisticDetails: ...
345
+ # System.String Windows.ApplicationModel.Search.ISearchPaneQueryChangedEventArgs::get_QueryText()
346
+ @_property
347
+ @deprecated("ISearchPaneQueryChangedEventArgs may be altered or unavailable for releases after Windows 10.")
348
+ @abstractmethod
349
+ def query_text(self) -> str: ...
350
+
File without changes
@@ -0,0 +1,49 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.ApplicationModel.Search
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.ApplicationModel.Search namespace
5
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
6
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: winrt-runtime<5,>=4.0.0
23
+ Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
24
+ Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
25
+ Requires-Dist: winrt-windows-storage-streams>=4!10.0.28000.2705
26
+ Provides-Extra: all
27
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Requires-Dist: winrt-windows-storage-streams[all]>=4!10.0.28000.2705; extra == 'all'
30
+ Requires-Dist: winrt-windows-storage[all]>=4!10.0.28000.2705; extra == 'all'
31
+ Description-Content-Type: text/markdown
32
+
33
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
34
+
35
+ # winrt-Windows.ApplicationModel.Search
36
+
37
+ Windows Runtime (WinRT) APIs for the `Windows.ApplicationModel.Search` namespace.
38
+
39
+ This package provides the `winrt.windows.applicationmodel.search` module.
40
+
41
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
42
+ `Microsoft.Windows.SDK.CPP` NuGet package.
43
+
44
+ ```
45
+ pip install winrt-Windows.ApplicationModel.Search
46
+ ```
47
+
48
+ Other WinRT namespaces are packages of their own, so install the package of
49
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/applicationmodel/search/__init__.py,sha256=lbxci5-0tXT1BANEZkZ9sNOF_YI3YKZMFkvHRMY8T_w,941
2
+ winrt/windows/applicationmodel/search/__init__.pyi,sha256=MEp0m3CptKVFhUMGD2IUucMFqmAbSwRy1KiRQhG9g9c,25049
3
+ winrt/windows/applicationmodel/search/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/applicationmodel/search/_table.pywinrt,sha256=ze-kr0SeQNxJsea0h2hcNb5n-DE0AvQYR7jPh_IVwJo,23424
5
+ winrt_windows_applicationmodel_search-4!10.0.28000.2705.dist-info/METADATA,sha256=bVEc_HvpvikUPEv9wH6Mu2Ung4H7NzgmhAbGpEz2S5s,2221
6
+ winrt_windows_applicationmodel_search-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_applicationmodel_search-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_applicationmodel_search-4!10.0.28000.2705.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+ Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE