winrt-Windows.UI.Shell.CompanionWindows 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,14 @@
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
+ "CompanionWindowRequestResultStatus",
10
+ "CompanionWindowCoordinator",
11
+ "CompanionWindowRequest",
12
+ "CompanionWindowRequestResult",
13
+ ]
14
+
@@ -0,0 +1,81 @@
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
+
7
+ import winrt.system
8
+ import winrt.windows.foundation as windows_foundation
9
+ import winrt.windows.ui as windows_ui
10
+
11
+ __all__ = [
12
+ "CompanionWindowRequestResultStatus",
13
+ "CompanionWindowCoordinator",
14
+ "CompanionWindowRequest",
15
+ "CompanionWindowRequestResult",
16
+ ]
17
+
18
+ class CompanionWindowRequestResultStatus(enum.IntEnum):
19
+ SUCCESS = 0
20
+ UNKNOWN_FAILURE = 1
21
+ REGISTRATION_NOT_FOUND = 2
22
+ ACTIVATION_TIMED_OUT = 3
23
+ REJECTED_BY_COMPANION_APP = 4
24
+
25
+ @typing.final
26
+ class CompanionWindowCoordinator_Static(winrt.system.Object_Static):
27
+ # Windows.UI.Shell.CompanionWindows.CompanionWindowCoordinator Windows.UI.Shell.CompanionWindows.CompanionWindowCoordinator::GetForWindow(Windows.UI.WindowId)
28
+ def get_for_window(cls, window_id: windows_ui.WindowId | tuple[winrt.system.UInt64 | typing.SupportsIndex], /) -> CompanionWindowCoordinator: ...
29
+
30
+ @typing.final
31
+ class CompanionWindowCoordinator(winrt.system.Object, metaclass=CompanionWindowCoordinator_Static):
32
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
33
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
34
+ # System.Void Windows.UI.Shell.CompanionWindows.CompanionWindowCoordinator::DetachCompanionWindow()
35
+ def detach_companion_window(self) -> None: ...
36
+ # Windows.Foundation.IAsyncOperation`1<Windows.UI.Shell.CompanionWindows.CompanionWindowRequestResult> Windows.UI.Shell.CompanionWindows.CompanionWindowCoordinator::RequestWindowFromAppAsync(System.String)
37
+ def request_window_from_app_async(self, app_id: str, /) -> windows_foundation.IAsyncOperation[CompanionWindowRequestResult]: ...
38
+ # Windows.Foundation.EventRegistrationToken Windows.UI.Shell.CompanionWindows.CompanionWindowCoordinator::add_Changed(Windows.Foundation.TypedEventHandler`2<Windows.UI.Shell.CompanionWindows.CompanionWindowCoordinator,System.Object>)
39
+ def add_changed(self, handler: windows_foundation.TypedEventHandler[CompanionWindowCoordinator, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
40
+ # System.Void Windows.UI.Shell.CompanionWindows.CompanionWindowCoordinator::remove_Changed(Windows.Foundation.EventRegistrationToken)
41
+ def remove_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
42
+ # Windows.UI.WindowId Windows.UI.Shell.CompanionWindows.CompanionWindowCoordinator::get_CompanionWindowId()
43
+ @_property
44
+ def companion_window_id(self) -> windows_ui.WindowId: ...
45
+
46
+ @typing.final
47
+ class CompanionWindowRequest_Static(winrt.system.Object_Static):
48
+ # Windows.UI.Shell.CompanionWindows.CompanionWindowRequest Windows.UI.Shell.CompanionWindows.CompanionWindowRequest::GetFromLaunchUri(Windows.Foundation.Uri)
49
+ def get_from_launch_uri(cls, launch_uri: windows_foundation.Uri, /) -> CompanionWindowRequest: ...
50
+
51
+ @typing.final
52
+ class CompanionWindowRequest(winrt.system.Object, metaclass=CompanionWindowRequest_Static):
53
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
54
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
55
+ # Windows.UI.Shell.CompanionWindows.CompanionWindowCoordinator Windows.UI.Shell.CompanionWindows.CompanionWindowRequest::Accept(Windows.UI.WindowId)
56
+ def accept(self, window_id: windows_ui.WindowId | tuple[winrt.system.UInt64 | typing.SupportsIndex], /) -> CompanionWindowCoordinator: ...
57
+ # Windows.Foundation.Deferral Windows.UI.Shell.CompanionWindows.CompanionWindowRequest::GetDeferral()
58
+ def get_deferral(self) -> windows_foundation.Deferral: ...
59
+ # System.Void Windows.UI.Shell.CompanionWindows.CompanionWindowRequest::Reject()
60
+ def reject(self) -> None: ...
61
+ # Windows.UI.WindowId Windows.UI.Shell.CompanionWindows.CompanionWindowRequest::get_RequestingWindowId()
62
+ @_property
63
+ def requesting_window_id(self) -> windows_ui.WindowId: ...
64
+
65
+ @typing.final
66
+ class CompanionWindowRequestResult(winrt.system.Object):
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
+ # Windows.UI.WindowId Windows.UI.Shell.CompanionWindows.CompanionWindowRequestResult::get_CompanionWindowId()
70
+ @_property
71
+ def companion_window_id(self) -> windows_ui.WindowId: ...
72
+ # Windows.Foundation.HResult Windows.UI.Shell.CompanionWindows.CompanionWindowRequestResult::get_ExtendedError()
73
+ @_property
74
+ def extended_error(self) -> windows_foundation.HResult: ...
75
+ # Windows.UI.Shell.CompanionWindows.CompanionWindowRequestResultStatus Windows.UI.Shell.CompanionWindows.CompanionWindowRequestResult::get_Status()
76
+ @_property
77
+ def status(self) -> CompanionWindowRequestResultStatus: ...
78
+ # System.Boolean Windows.UI.Shell.CompanionWindows.CompanionWindowRequestResult::get_Succeeded()
79
+ @_property
80
+ def succeeded(self) -> bool: ...
81
+
File without changes
@@ -0,0 +1,45 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.UI.Shell.CompanionWindows
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.UI.Shell.CompanionWindows 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>=4!10.0.28000.2705
24
+ Provides-Extra: all
25
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
26
+ Requires-Dist: winrt-windows-ui[all]>=4!10.0.28000.2705; extra == 'all'
27
+ Description-Content-Type: text/markdown
28
+
29
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
30
+
31
+ # winrt-Windows.UI.Shell.CompanionWindows
32
+
33
+ Windows Runtime (WinRT) APIs for the `Windows.UI.Shell.CompanionWindows` namespace.
34
+
35
+ This package provides the `winrt.windows.ui.shell.companionwindows` module.
36
+
37
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
38
+ `Microsoft.Windows.SDK.CPP` NuGet package.
39
+
40
+ ```
41
+ pip install winrt-Windows.UI.Shell.CompanionWindows
42
+ ```
43
+
44
+ Other WinRT namespaces are packages of their own, so install the package of
45
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/ui/shell/companionwindows/__init__.py,sha256=pnTa1g2UCazdheCFy27v7mJT8QIwanu75A3Rv-FHBeI,336
2
+ winrt/windows/ui/shell/companionwindows/__init__.pyi,sha256=SMy6dzwG9fDyUH1AMWaTgphmFTkpW76NrQHEwIam7sY,5032
3
+ winrt/windows/ui/shell/companionwindows/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/ui/shell/companionwindows/_table.pywinrt,sha256=2INoPqaMZdqKJNfcbF2Ww1VHRhDO3sIL8WXgeW42VH8,7224
5
+ winrt_windows_ui_shell_companionwindows-4!10.0.28000.2705.dist-info/METADATA,sha256=-m5TUh96EU1OdxvuxMS30wT_Wt7IcTE0cXirXm0EdD4,1916
6
+ winrt_windows_ui_shell_companionwindows-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_ui_shell_companionwindows-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_ui_shell_companionwindows-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