winrt-Windows.ApplicationModel.Search.Core 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,18 @@
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
+ "SearchSuggestionKind",
10
+ "RequestingFocusOnKeyboardInputEventArgs",
11
+ "SearchSuggestion",
12
+ "SearchSuggestionManager",
13
+ "SearchSuggestionsRequestedEventArgs",
14
+ ]
15
+
16
+ winrt.runtime._internals.alias_method(SearchSuggestionManager, "add_to_history_with_language", "add_to_history")
17
+ winrt.runtime._internals.alias_method(SearchSuggestionManager, "set_query_with_language", "set_query")
18
+ winrt.runtime._internals.alias_method(SearchSuggestionManager, "set_query_with_search_query_linguistic_details", "set_query")
@@ -0,0 +1,129 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import enum
4
+ import typing
5
+ from builtins import property as _property
6
+ from typing_extensions import deprecated
7
+
8
+ import winrt.system
9
+ import winrt.windows.applicationmodel.search as windows_applicationmodel_search
10
+ import winrt.windows.foundation as windows_foundation
11
+ import winrt.windows.foundation.collections as windows_foundation_collections
12
+ import winrt.windows.storage.streams as windows_storage_streams
13
+
14
+ __all__ = [
15
+ "SearchSuggestionKind",
16
+ "RequestingFocusOnKeyboardInputEventArgs",
17
+ "SearchSuggestion",
18
+ "SearchSuggestionManager",
19
+ "SearchSuggestionsRequestedEventArgs",
20
+ ]
21
+
22
+ class SearchSuggestionKind(enum.IntEnum):
23
+ QUERY = 0
24
+ RESULT = 1
25
+ SEPARATOR = 2
26
+
27
+ @typing.final
28
+ class RequestingFocusOnKeyboardInputEventArgs(winrt.system.Object):
29
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
30
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
31
+
32
+ @typing.final
33
+ class SearchSuggestion(winrt.system.Object):
34
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
35
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
36
+ # System.String Windows.ApplicationModel.Search.Core.SearchSuggestion::get_DetailText()
37
+ @_property
38
+ def detail_text(self) -> str: ...
39
+ # Windows.Storage.Streams.IRandomAccessStreamReference Windows.ApplicationModel.Search.Core.SearchSuggestion::get_Image()
40
+ @_property
41
+ def image(self) -> windows_storage_streams.IRandomAccessStreamReference: ...
42
+ # System.String Windows.ApplicationModel.Search.Core.SearchSuggestion::get_ImageAlternateText()
43
+ @_property
44
+ def image_alternate_text(self) -> str: ...
45
+ # Windows.ApplicationModel.Search.Core.SearchSuggestionKind Windows.ApplicationModel.Search.Core.SearchSuggestion::get_Kind()
46
+ @_property
47
+ def kind(self) -> SearchSuggestionKind: ...
48
+ # System.String Windows.ApplicationModel.Search.Core.SearchSuggestion::get_Tag()
49
+ @_property
50
+ def tag(self) -> str: ...
51
+ # System.String Windows.ApplicationModel.Search.Core.SearchSuggestion::get_Text()
52
+ @_property
53
+ def text(self) -> str: ...
54
+
55
+ @typing.final
56
+ class SearchSuggestionManager(winrt.system.Object):
57
+ def __new__(cls) -> typing.Self: ...
58
+ @typing.overload
59
+ # System.Void Windows.ApplicationModel.Search.Core.SearchSuggestionManager::AddToHistory(System.String)
60
+ def add_to_history(self, query_text: str, /) -> None: ...
61
+ @typing.overload
62
+ # System.Void Windows.ApplicationModel.Search.Core.SearchSuggestionManager::AddToHistory(System.String,System.String)
63
+ def add_to_history(self, query_text: str, language: str, /) -> None: ...
64
+ # Deprecated alias of add_to_history() for pywinrt v3.x compatibility.
65
+ # System.Void Windows.ApplicationModel.Search.Core.SearchSuggestionManager::AddToHistory(System.String,System.String)
66
+ @deprecated("Use add_to_history() instead.")
67
+ def add_to_history_with_language(self, query_text: str, language: str, /) -> None: ...
68
+ # System.Void Windows.ApplicationModel.Search.Core.SearchSuggestionManager::ClearHistory()
69
+ def clear_history(self) -> None: ...
70
+ # System.Void Windows.ApplicationModel.Search.Core.SearchSuggestionManager::SetLocalContentSuggestionSettings(Windows.ApplicationModel.Search.LocalContentSuggestionSettings)
71
+ def set_local_content_suggestion_settings(self, settings: windows_applicationmodel_search.LocalContentSuggestionSettings, /) -> None: ...
72
+ @typing.overload
73
+ # System.Void Windows.ApplicationModel.Search.Core.SearchSuggestionManager::SetQuery(System.String)
74
+ def set_query(self, query_text: str, /) -> None: ...
75
+ @typing.overload
76
+ # System.Void Windows.ApplicationModel.Search.Core.SearchSuggestionManager::SetQuery(System.String,System.String)
77
+ def set_query(self, query_text: str, language: str, /) -> None: ...
78
+ @typing.overload
79
+ # System.Void Windows.ApplicationModel.Search.Core.SearchSuggestionManager::SetQuery(System.String,System.String,Windows.ApplicationModel.Search.SearchQueryLinguisticDetails)
80
+ def set_query(self, query_text: str, language: str, linguistic_details: windows_applicationmodel_search.SearchQueryLinguisticDetails, /) -> None: ...
81
+ # Deprecated alias of set_query() for pywinrt v3.x compatibility.
82
+ # System.Void Windows.ApplicationModel.Search.Core.SearchSuggestionManager::SetQuery(System.String,System.String)
83
+ @deprecated("Use set_query() instead.")
84
+ def set_query_with_language(self, query_text: str, language: str, /) -> None: ...
85
+ # Deprecated alias of set_query() for pywinrt v3.x compatibility.
86
+ # System.Void Windows.ApplicationModel.Search.Core.SearchSuggestionManager::SetQuery(System.String,System.String,Windows.ApplicationModel.Search.SearchQueryLinguisticDetails)
87
+ @deprecated("Use set_query() instead.")
88
+ def set_query_with_search_query_linguistic_details(self, query_text: str, language: str, linguistic_details: windows_applicationmodel_search.SearchQueryLinguisticDetails, /) -> None: ...
89
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Search.Core.SearchSuggestionManager::add_RequestingFocusOnKeyboardInput(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Search.Core.SearchSuggestionManager,Windows.ApplicationModel.Search.Core.RequestingFocusOnKeyboardInputEventArgs>)
90
+ def add_requesting_focus_on_keyboard_input(self, handler: windows_foundation.TypedEventHandler[SearchSuggestionManager, RequestingFocusOnKeyboardInputEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
91
+ # System.Void Windows.ApplicationModel.Search.Core.SearchSuggestionManager::remove_RequestingFocusOnKeyboardInput(Windows.Foundation.EventRegistrationToken)
92
+ def remove_requesting_focus_on_keyboard_input(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
93
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Search.Core.SearchSuggestionManager::add_SuggestionsRequested(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Search.Core.SearchSuggestionManager,Windows.ApplicationModel.Search.Core.SearchSuggestionsRequestedEventArgs>)
94
+ def add_suggestions_requested(self, handler: windows_foundation.TypedEventHandler[SearchSuggestionManager, SearchSuggestionsRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
95
+ # System.Void Windows.ApplicationModel.Search.Core.SearchSuggestionManager::remove_SuggestionsRequested(Windows.Foundation.EventRegistrationToken)
96
+ def remove_suggestions_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
97
+ # System.Boolean Windows.ApplicationModel.Search.Core.SearchSuggestionManager::get_SearchHistoryEnabled()
98
+ @_property
99
+ def search_history_enabled(self) -> bool: ...
100
+ # System.Void Windows.ApplicationModel.Search.Core.SearchSuggestionManager::put_SearchHistoryEnabled(System.Boolean)
101
+ @search_history_enabled.setter
102
+ def search_history_enabled(self, value: bool) -> None: ...
103
+ # System.String Windows.ApplicationModel.Search.Core.SearchSuggestionManager::get_SearchHistoryContext()
104
+ @_property
105
+ def search_history_context(self) -> str: ...
106
+ # System.Void Windows.ApplicationModel.Search.Core.SearchSuggestionManager::put_SearchHistoryContext(System.String)
107
+ @search_history_context.setter
108
+ def search_history_context(self, value: str) -> None: ...
109
+ # Windows.Foundation.Collections.IObservableVector`1<Windows.ApplicationModel.Search.Core.SearchSuggestion> Windows.ApplicationModel.Search.Core.SearchSuggestionManager::get_Suggestions()
110
+ @_property
111
+ def suggestions(self) -> windows_foundation_collections.IObservableVector[SearchSuggestion]: ...
112
+
113
+ @typing.final
114
+ class SearchSuggestionsRequestedEventArgs(winrt.system.Object):
115
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
116
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
117
+ # System.String Windows.ApplicationModel.Search.Core.SearchSuggestionsRequestedEventArgs::get_Language()
118
+ @_property
119
+ def language(self) -> str: ...
120
+ # Windows.ApplicationModel.Search.SearchQueryLinguisticDetails Windows.ApplicationModel.Search.Core.SearchSuggestionsRequestedEventArgs::get_LinguisticDetails()
121
+ @_property
122
+ def linguistic_details(self) -> windows_applicationmodel_search.SearchQueryLinguisticDetails: ...
123
+ # System.String Windows.ApplicationModel.Search.Core.SearchSuggestionsRequestedEventArgs::get_QueryText()
124
+ @_property
125
+ def query_text(self) -> str: ...
126
+ # Windows.ApplicationModel.Search.SearchSuggestionsRequest Windows.ApplicationModel.Search.Core.SearchSuggestionsRequestedEventArgs::get_Request()
127
+ @_property
128
+ def request(self) -> windows_applicationmodel_search.SearchSuggestionsRequest: ...
129
+
File without changes
@@ -0,0 +1,49 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.ApplicationModel.Search.Core
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.ApplicationModel.Search.Core 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-applicationmodel-search[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
30
+ Requires-Dist: winrt-windows-storage-streams[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.Core
36
+
37
+ Windows Runtime (WinRT) APIs for the `Windows.ApplicationModel.Search.Core` namespace.
38
+
39
+ This package provides the `winrt.windows.applicationmodel.search.core` 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.Core
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/core/__init__.py,sha256=AlgntOnj4Icyuk9Z-YAJDL7NsBoHCJtDbjKdNzWP_YU,709
2
+ winrt/windows/applicationmodel/search/core/__init__.pyi,sha256=UGvzayEgU4m-ey9ldGAbuEt6TL0ilVx1TorQ1xK_L_g,8889
3
+ winrt/windows/applicationmodel/search/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/applicationmodel/search/core/_table.pywinrt,sha256=GKV8jYRownpPYBck3BUsUDOb6z-J5GHKKSyi65tf6IU,13856
5
+ winrt_windows_applicationmodel_search_core-4!10.0.28000.2705.dist-info/METADATA,sha256=4YjyhiCxcWP05qJhguZ8bsxTKVKrEcXSd3bfszTwo4U,2267
6
+ winrt_windows_applicationmodel_search_core-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_applicationmodel_search_core-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_applicationmodel_search_core-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