winrt-Windows.ApplicationModel.Overlay 4!10.0.28000.2957__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.
- winrt/windows/applicationmodel/overlay/__init__.py +20 -0
- winrt/windows/applicationmodel/overlay/__init__.pyi +142 -0
- winrt/windows/applicationmodel/overlay/_table.pywinrt +0 -0
- winrt/windows/applicationmodel/overlay/py.typed +0 -0
- winrt_windows_applicationmodel_overlay-4!10.0.28000.2957.dist-info/METADATA +44 -0
- winrt_windows_applicationmodel_overlay-4!10.0.28000.2957.dist-info/RECORD +8 -0
- winrt_windows_applicationmodel_overlay-4!10.0.28000.2957.dist-info/WHEEL +4 -0
- winrt_windows_applicationmodel_overlay-4!10.0.28000.2957.dist-info/licenses/LICENSE +22 -0
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
"OverlayCommandSource",
|
|
10
|
+
"OverlayTransitionAnimation",
|
|
11
|
+
"OverlayVisualState",
|
|
12
|
+
"OverlayActivatedEventArgs",
|
|
13
|
+
"OverlayApp",
|
|
14
|
+
"OverlayAppOptions",
|
|
15
|
+
"OverlayCommand",
|
|
16
|
+
"OverlayDisconnectedEventArgs",
|
|
17
|
+
"OverlayVisualTransitionEventArgs",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
winrt.runtime._internals.alias_static_method(OverlayApp, "create2", "create")
|
|
@@ -0,0 +1,142 @@
|
|
|
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.foundation as windows_foundation
|
|
10
|
+
|
|
11
|
+
__all__ = [
|
|
12
|
+
"OverlayCommandSource",
|
|
13
|
+
"OverlayTransitionAnimation",
|
|
14
|
+
"OverlayVisualState",
|
|
15
|
+
"OverlayActivatedEventArgs",
|
|
16
|
+
"OverlayApp",
|
|
17
|
+
"OverlayAppOptions",
|
|
18
|
+
"OverlayCommand",
|
|
19
|
+
"OverlayDisconnectedEventArgs",
|
|
20
|
+
"OverlayVisualTransitionEventArgs",
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
class OverlayCommandSource(enum.IntEnum):
|
|
24
|
+
KEYBOARD = 0
|
|
25
|
+
GAMEPAD = 1
|
|
26
|
+
PROGRAMMATIC = 2
|
|
27
|
+
POINTER = 3
|
|
28
|
+
|
|
29
|
+
class OverlayTransitionAnimation(enum.IntEnum):
|
|
30
|
+
DISABLED = 0
|
|
31
|
+
PLATFORM_AUTO = 1
|
|
32
|
+
FADE = 2
|
|
33
|
+
SLIDE_LEFT = 3
|
|
34
|
+
SLIDE_RIGHT = 4
|
|
35
|
+
|
|
36
|
+
class OverlayVisualState(enum.IntEnum):
|
|
37
|
+
HIDDEN = 0
|
|
38
|
+
PERSISTENT = 1
|
|
39
|
+
INTERACTIVE = 2
|
|
40
|
+
|
|
41
|
+
@typing.final
|
|
42
|
+
class OverlayActivatedEventArgs(winrt.system.Object):
|
|
43
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
44
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
45
|
+
# Windows.ApplicationModel.Overlay.OverlayCommand Windows.ApplicationModel.Overlay.OverlayActivatedEventArgs::get_Command()
|
|
46
|
+
@_property
|
|
47
|
+
def command(self) -> OverlayCommand: ...
|
|
48
|
+
|
|
49
|
+
@typing.final
|
|
50
|
+
class OverlayApp_Static(winrt.system.Object_Static):
|
|
51
|
+
@typing.overload
|
|
52
|
+
# Windows.ApplicationModel.Overlay.OverlayApp Windows.ApplicationModel.Overlay.OverlayApp::Create(System.Int64)
|
|
53
|
+
def create(cls, hwnd: winrt.system.Int64 | typing.SupportsIndex, /) -> OverlayApp: ...
|
|
54
|
+
@typing.overload
|
|
55
|
+
# Windows.ApplicationModel.Overlay.OverlayApp Windows.ApplicationModel.Overlay.OverlayApp::Create(System.Int64,Windows.ApplicationModel.Overlay.OverlayAppOptions)
|
|
56
|
+
def create(cls, hwnd: winrt.system.Int64 | typing.SupportsIndex, options: OverlayAppOptions, /) -> OverlayApp: ...
|
|
57
|
+
# Deprecated alias of create() for pywinrt v3.x compatibility.
|
|
58
|
+
# Windows.ApplicationModel.Overlay.OverlayApp Windows.ApplicationModel.Overlay.OverlayApp::Create(System.Int64,Windows.ApplicationModel.Overlay.OverlayAppOptions)
|
|
59
|
+
@deprecated("Use create() instead.")
|
|
60
|
+
def create2(cls, hwnd: winrt.system.Int64 | typing.SupportsIndex, options: OverlayAppOptions, /) -> OverlayApp: ...
|
|
61
|
+
|
|
62
|
+
@typing.final
|
|
63
|
+
class OverlayApp(winrt.system.Object, metaclass=OverlayApp_Static):
|
|
64
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
65
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
66
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.Overlay.OverlayApp::DisconnectAsync()
|
|
67
|
+
def disconnect_async(self) -> windows_foundation.IAsyncAction: ...
|
|
68
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.Overlay.OverlayApp::ExitInteractiveAsync()
|
|
69
|
+
def exit_interactive_async(self) -> windows_foundation.IAsyncAction: ...
|
|
70
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.Overlay.OverlayApp::RequestInteractiveAsync(Windows.ApplicationModel.Overlay.OverlayCommand)
|
|
71
|
+
def request_interactive_async(self, command: OverlayCommand, /) -> windows_foundation.IAsyncAction: ...
|
|
72
|
+
# System.Void Windows.ApplicationModel.Overlay.OverlayApp::SetHasActiveNotification(System.Boolean)
|
|
73
|
+
def set_has_active_notification(self, has_active: bool, /) -> None: ...
|
|
74
|
+
# System.Void Windows.ApplicationModel.Overlay.OverlayApp::SetPersistentModeEnabled(System.Boolean)
|
|
75
|
+
def set_persistent_mode_enabled(self, enabled: bool, /) -> None: ...
|
|
76
|
+
# System.Void Windows.ApplicationModel.Overlay.OverlayApp::SetUnreadNotificationCount(System.UInt32)
|
|
77
|
+
def set_unread_notification_count(self, count: winrt.system.UInt32 | typing.SupportsIndex, /) -> None: ...
|
|
78
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.Overlay.OverlayApp::StartAsync()
|
|
79
|
+
def start_async(self) -> windows_foundation.IAsyncAction: ...
|
|
80
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Overlay.OverlayApp::add_Activated(Windows.Foundation.EventHandler`1<Windows.ApplicationModel.Overlay.OverlayActivatedEventArgs>)
|
|
81
|
+
def add_activated(self, handler: windows_foundation.EventHandler[OverlayActivatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
82
|
+
# System.Void Windows.ApplicationModel.Overlay.OverlayApp::remove_Activated(Windows.Foundation.EventRegistrationToken)
|
|
83
|
+
def remove_activated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
84
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Overlay.OverlayApp::add_Disconnected(Windows.Foundation.EventHandler`1<Windows.ApplicationModel.Overlay.OverlayDisconnectedEventArgs>)
|
|
85
|
+
def add_disconnected(self, handler: windows_foundation.EventHandler[OverlayDisconnectedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
86
|
+
# System.Void Windows.ApplicationModel.Overlay.OverlayApp::remove_Disconnected(Windows.Foundation.EventRegistrationToken)
|
|
87
|
+
def remove_disconnected(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
88
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Overlay.OverlayApp::add_VisualStateChanged(Windows.Foundation.EventHandler`1<System.Object>)
|
|
89
|
+
def add_visual_state_changed(self, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
90
|
+
# System.Void Windows.ApplicationModel.Overlay.OverlayApp::remove_VisualStateChanged(Windows.Foundation.EventRegistrationToken)
|
|
91
|
+
def remove_visual_state_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
92
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Overlay.OverlayApp::add_VisualTransition(Windows.Foundation.EventHandler`1<Windows.ApplicationModel.Overlay.OverlayVisualTransitionEventArgs>)
|
|
93
|
+
def add_visual_transition(self, handler: windows_foundation.EventHandler[OverlayVisualTransitionEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
94
|
+
# System.Void Windows.ApplicationModel.Overlay.OverlayApp::remove_VisualTransition(Windows.Foundation.EventRegistrationToken)
|
|
95
|
+
def remove_visual_transition(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
96
|
+
# Windows.ApplicationModel.Overlay.OverlayVisualState Windows.ApplicationModel.Overlay.OverlayApp::get_VisualState()
|
|
97
|
+
@_property
|
|
98
|
+
def visual_state(self) -> OverlayVisualState: ...
|
|
99
|
+
|
|
100
|
+
@typing.final
|
|
101
|
+
class OverlayAppOptions(winrt.system.Object):
|
|
102
|
+
def __new__(cls) -> typing.Self: ...
|
|
103
|
+
# System.Boolean Windows.ApplicationModel.Overlay.OverlayAppOptions::get_CustomTransitionAnimations()
|
|
104
|
+
@_property
|
|
105
|
+
def custom_transition_animations(self) -> bool: ...
|
|
106
|
+
# System.Void Windows.ApplicationModel.Overlay.OverlayAppOptions::put_CustomTransitionAnimations(System.Boolean)
|
|
107
|
+
@custom_transition_animations.setter
|
|
108
|
+
def custom_transition_animations(self, value: bool) -> None: ...
|
|
109
|
+
|
|
110
|
+
@typing.final
|
|
111
|
+
class OverlayCommand(winrt.system.Object):
|
|
112
|
+
def __new__(cls, source: OverlayCommandSource, uri: windows_foundation.Uri, /) -> typing.Self: ...
|
|
113
|
+
# Windows.ApplicationModel.Overlay.OverlayCommandSource Windows.ApplicationModel.Overlay.OverlayCommand::get_Source()
|
|
114
|
+
@_property
|
|
115
|
+
def source(self) -> OverlayCommandSource: ...
|
|
116
|
+
# Windows.Foundation.Uri Windows.ApplicationModel.Overlay.OverlayCommand::get_Uri()
|
|
117
|
+
@_property
|
|
118
|
+
def uri(self) -> windows_foundation.Uri: ...
|
|
119
|
+
|
|
120
|
+
@typing.final
|
|
121
|
+
class OverlayDisconnectedEventArgs(winrt.system.Object):
|
|
122
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
123
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
124
|
+
# Windows.Foundation.Deferral Windows.ApplicationModel.Overlay.OverlayDisconnectedEventArgs::GetDeferral()
|
|
125
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
126
|
+
|
|
127
|
+
@typing.final
|
|
128
|
+
class OverlayVisualTransitionEventArgs(winrt.system.Object):
|
|
129
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
130
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
131
|
+
# Windows.Foundation.Deferral Windows.ApplicationModel.Overlay.OverlayVisualTransitionEventArgs::GetDeferral()
|
|
132
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
133
|
+
# Windows.ApplicationModel.Overlay.OverlayCommand Windows.ApplicationModel.Overlay.OverlayVisualTransitionEventArgs::get_Command()
|
|
134
|
+
@_property
|
|
135
|
+
def command(self) -> OverlayCommand: ...
|
|
136
|
+
# Windows.ApplicationModel.Overlay.OverlayVisualState Windows.ApplicationModel.Overlay.OverlayVisualTransitionEventArgs::get_NewState()
|
|
137
|
+
@_property
|
|
138
|
+
def new_state(self) -> OverlayVisualState: ...
|
|
139
|
+
# Windows.ApplicationModel.Overlay.OverlayTransitionAnimation Windows.ApplicationModel.Overlay.OverlayVisualTransitionEventArgs::get_TransitionAnimation()
|
|
140
|
+
@_property
|
|
141
|
+
def transition_animation(self) -> OverlayTransitionAnimation: ...
|
|
142
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.Overlay
|
|
3
|
+
Version: 4!10.0.28000.2957
|
|
4
|
+
Summary: PyWinRT projection of the Windows.ApplicationModel.Overlay 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.2957
|
|
24
|
+
Provides-Extra: all
|
|
25
|
+
Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2957; extra == 'all'
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
|
|
28
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
29
|
+
|
|
30
|
+
# winrt-Windows.ApplicationModel.Overlay
|
|
31
|
+
|
|
32
|
+
Windows Runtime (WinRT) APIs for the `Windows.ApplicationModel.Overlay` namespace.
|
|
33
|
+
|
|
34
|
+
This package provides the `winrt.windows.applicationmodel.overlay` module.
|
|
35
|
+
|
|
36
|
+
The WinRT APIs in it are those of version 10.0.28000.2957 of the
|
|
37
|
+
`Microsoft.Windows.SDK.CPP` NuGet package.
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
pip install winrt-Windows.ApplicationModel.Overlay
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Other WinRT namespaces are packages of their own, so install the package of
|
|
44
|
+
each namespace your code imports from.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/windows/applicationmodel/overlay/__init__.py,sha256=DFecPMxN87foUshWuhLzbOHuSIl6C1YieU5C-Qt7YrQ,534
|
|
2
|
+
winrt/windows/applicationmodel/overlay/__init__.pyi,sha256=NWu1-S8GB9bozQ6RIohIEpB7H7bl-HLVMY795aW6dq0,8945
|
|
3
|
+
winrt/windows/applicationmodel/overlay/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
winrt/windows/applicationmodel/overlay/_table.pywinrt,sha256=WiX5uUO1ULvCnf0rXgDTeqF0r5bp1R0jGdkRSTJWhdM,9048
|
|
5
|
+
winrt_windows_applicationmodel_overlay-4!10.0.28000.2957.dist-info/METADATA,sha256=HlBmwH32zeyGonUYeCED73vCfBRYdIhSJAaZAz0Cauw,1838
|
|
6
|
+
winrt_windows_applicationmodel_overlay-4!10.0.28000.2957.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
7
|
+
winrt_windows_applicationmodel_overlay-4!10.0.28000.2957.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
|
|
8
|
+
winrt_windows_applicationmodel_overlay-4!10.0.28000.2957.dist-info/RECORD,,
|
|
@@ -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
|