winrt-Windows.ApplicationModel.Core 3.2.1__cp314-cp314-win32.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_core.cp314-win32.pyd +0 -0
- winrt/_winrt_windows_applicationmodel_core.pyi +232 -0
- winrt/windows/applicationmodel/core/__init__.py +41 -0
- winrt/windows/applicationmodel/core/py.typed +0 -0
- winrt_windows_applicationmodel_core-3.2.1.dist-info/METADATA +30 -0
- winrt_windows_applicationmodel_core-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_applicationmodel_core-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_applicationmodel_core-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
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
|
+
from abc import abstractmethod
|
|
10
|
+
|
|
11
|
+
import winrt._winrt
|
|
12
|
+
import winrt.system
|
|
13
|
+
import winrt.windows.applicationmodel as windows_applicationmodel
|
|
14
|
+
import winrt.windows.applicationmodel.activation as windows_applicationmodel_activation
|
|
15
|
+
import winrt.windows.foundation as windows_foundation
|
|
16
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
17
|
+
import winrt.windows.system as windows_system
|
|
18
|
+
import winrt.windows.ui.core as windows_ui_core
|
|
19
|
+
|
|
20
|
+
from winrt.windows.applicationmodel.core import AppRestartFailureReason
|
|
21
|
+
|
|
22
|
+
Self = typing.TypeVar('Self')
|
|
23
|
+
|
|
24
|
+
@typing.final
|
|
25
|
+
class AppListEntry(winrt.system.Object):
|
|
26
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.Core.AppListEntry::LaunchAsync()
|
|
27
|
+
def launch_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
28
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.ApplicationModel.Core.AppListEntry::LaunchForUserAsync(Windows.System.User)
|
|
29
|
+
def launch_for_user_async(self, user: windows_system.User, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
30
|
+
# Windows.ApplicationModel.AppDisplayInfo Windows.ApplicationModel.Core.AppListEntry::get_DisplayInfo()
|
|
31
|
+
@_property
|
|
32
|
+
def display_info(self) -> windows_applicationmodel.AppDisplayInfo: ...
|
|
33
|
+
# System.String Windows.ApplicationModel.Core.AppListEntry::get_AppUserModelId()
|
|
34
|
+
@_property
|
|
35
|
+
def app_user_model_id(self) -> str: ...
|
|
36
|
+
# Windows.ApplicationModel.AppInfo Windows.ApplicationModel.Core.AppListEntry::get_AppInfo()
|
|
37
|
+
@_property
|
|
38
|
+
def app_info(self) -> windows_applicationmodel.AppInfo: ...
|
|
39
|
+
|
|
40
|
+
@typing.final
|
|
41
|
+
class CoreApplication_Static(winrt._winrt.IInspectable_Static):
|
|
42
|
+
# Windows.ApplicationModel.Core.CoreApplicationView Windows.ApplicationModel.Core.CoreApplication::CreateNewView(System.String,System.String)
|
|
43
|
+
def create_new_view(cls, runtime_type: str, entry_point: str, /) -> CoreApplicationView: ...
|
|
44
|
+
# Windows.ApplicationModel.Core.CoreApplicationView Windows.ApplicationModel.Core.CoreApplication::CreateNewView()
|
|
45
|
+
def create_new_view_from_main_view(cls) -> CoreApplicationView: ...
|
|
46
|
+
# Windows.ApplicationModel.Core.CoreApplicationView Windows.ApplicationModel.Core.CoreApplication::CreateNewView(Windows.ApplicationModel.Core.IFrameworkViewSource)
|
|
47
|
+
def create_new_view_with_view_source(cls, view_source: IFrameworkViewSource, /) -> CoreApplicationView: ...
|
|
48
|
+
# System.Void Windows.ApplicationModel.Core.CoreApplication::DecrementApplicationUseCount()
|
|
49
|
+
def decrement_application_use_count(cls) -> None: ...
|
|
50
|
+
# System.Void Windows.ApplicationModel.Core.CoreApplication::EnablePrelaunch(System.Boolean)
|
|
51
|
+
def enable_prelaunch(cls, value: bool, /) -> None: ...
|
|
52
|
+
# System.Void Windows.ApplicationModel.Core.CoreApplication::Exit()
|
|
53
|
+
def exit(cls) -> None: ...
|
|
54
|
+
# Windows.ApplicationModel.Core.CoreApplicationView Windows.ApplicationModel.Core.CoreApplication::GetCurrentView()
|
|
55
|
+
def get_current_view(cls) -> CoreApplicationView: ...
|
|
56
|
+
# System.Void Windows.ApplicationModel.Core.CoreApplication::IncrementApplicationUseCount()
|
|
57
|
+
def increment_application_use_count(cls) -> None: ...
|
|
58
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Core.AppRestartFailureReason> Windows.ApplicationModel.Core.CoreApplication::RequestRestartAsync(System.String)
|
|
59
|
+
def request_restart_async(cls, launch_arguments: str, /) -> windows_foundation.IAsyncOperation[AppRestartFailureReason]: ...
|
|
60
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Core.AppRestartFailureReason> Windows.ApplicationModel.Core.CoreApplication::RequestRestartForUserAsync(Windows.System.User,System.String)
|
|
61
|
+
def request_restart_for_user_async(cls, user: windows_system.User, launch_arguments: str, /) -> windows_foundation.IAsyncOperation[AppRestartFailureReason]: ...
|
|
62
|
+
# System.Void Windows.ApplicationModel.Core.CoreApplication::Run(Windows.ApplicationModel.Core.IFrameworkViewSource)
|
|
63
|
+
def run(cls, view_source: IFrameworkViewSource, /) -> None: ...
|
|
64
|
+
# System.Void Windows.ApplicationModel.Core.CoreApplication::RunWithActivationFactories(Windows.Foundation.IGetActivationFactory)
|
|
65
|
+
def run_with_activation_factories(cls, activation_factory_callback: windows_foundation.IGetActivationFactory, /) -> None: ...
|
|
66
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Core.CoreApplication::add_UnhandledErrorDetected(Windows.Foundation.EventHandler`1<Windows.ApplicationModel.Core.UnhandledErrorDetectedEventArgs>)
|
|
67
|
+
def add_unhandled_error_detected(cls, handler: windows_foundation.EventHandler[UnhandledErrorDetectedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
68
|
+
# System.Void Windows.ApplicationModel.Core.CoreApplication::remove_UnhandledErrorDetected(Windows.Foundation.EventRegistrationToken)
|
|
69
|
+
def remove_unhandled_error_detected(cls, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
70
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Core.CoreApplication::add_Exiting(Windows.Foundation.EventHandler`1<System.Object>)
|
|
71
|
+
def add_exiting(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
72
|
+
# System.Void Windows.ApplicationModel.Core.CoreApplication::remove_Exiting(Windows.Foundation.EventRegistrationToken)
|
|
73
|
+
def remove_exiting(cls, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
74
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Core.CoreApplication::add_BackgroundActivated(Windows.Foundation.EventHandler`1<Windows.ApplicationModel.Activation.BackgroundActivatedEventArgs>)
|
|
75
|
+
def add_background_activated(cls, handler: windows_foundation.EventHandler[windows_applicationmodel_activation.BackgroundActivatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
76
|
+
# System.Void Windows.ApplicationModel.Core.CoreApplication::remove_BackgroundActivated(Windows.Foundation.EventRegistrationToken)
|
|
77
|
+
def remove_background_activated(cls, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
78
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Core.CoreApplication::add_EnteredBackground(Windows.Foundation.EventHandler`1<Windows.ApplicationModel.EnteredBackgroundEventArgs>)
|
|
79
|
+
def add_entered_background(cls, handler: windows_foundation.EventHandler[windows_applicationmodel.EnteredBackgroundEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
80
|
+
# System.Void Windows.ApplicationModel.Core.CoreApplication::remove_EnteredBackground(Windows.Foundation.EventRegistrationToken)
|
|
81
|
+
def remove_entered_background(cls, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
82
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Core.CoreApplication::add_LeavingBackground(Windows.Foundation.EventHandler`1<Windows.ApplicationModel.LeavingBackgroundEventArgs>)
|
|
83
|
+
def add_leaving_background(cls, handler: windows_foundation.EventHandler[windows_applicationmodel.LeavingBackgroundEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
84
|
+
# System.Void Windows.ApplicationModel.Core.CoreApplication::remove_LeavingBackground(Windows.Foundation.EventRegistrationToken)
|
|
85
|
+
def remove_leaving_background(cls, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
86
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Core.CoreApplication::add_Resuming(Windows.Foundation.EventHandler`1<System.Object>)
|
|
87
|
+
def add_resuming(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
88
|
+
# System.Void Windows.ApplicationModel.Core.CoreApplication::remove_Resuming(Windows.Foundation.EventRegistrationToken)
|
|
89
|
+
def remove_resuming(cls, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
90
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Core.CoreApplication::add_Suspending(Windows.Foundation.EventHandler`1<Windows.ApplicationModel.SuspendingEventArgs>)
|
|
91
|
+
def add_suspending(cls, handler: windows_foundation.EventHandler[windows_applicationmodel.SuspendingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
92
|
+
# System.Void Windows.ApplicationModel.Core.CoreApplication::remove_Suspending(Windows.Foundation.EventRegistrationToken)
|
|
93
|
+
def remove_suspending(cls, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
94
|
+
# System.String Windows.ApplicationModel.Core.CoreApplication::get_Id()
|
|
95
|
+
@_property
|
|
96
|
+
def id(cls) -> str: ...
|
|
97
|
+
# Windows.Foundation.Collections.IPropertySet Windows.ApplicationModel.Core.CoreApplication::get_Properties()
|
|
98
|
+
@_property
|
|
99
|
+
def properties(cls) -> windows_foundation_collections.IPropertySet: ...
|
|
100
|
+
# Windows.ApplicationModel.Core.CoreApplicationView Windows.ApplicationModel.Core.CoreApplication::get_MainView()
|
|
101
|
+
@_property
|
|
102
|
+
def main_view(cls) -> CoreApplicationView: ...
|
|
103
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.ApplicationModel.Core.CoreApplicationView> Windows.ApplicationModel.Core.CoreApplication::get_Views()
|
|
104
|
+
@_property
|
|
105
|
+
def views(cls) -> typing.Sequence[CoreApplicationView]: ...
|
|
106
|
+
|
|
107
|
+
@typing.final
|
|
108
|
+
class CoreApplication(winrt.system.Object, metaclass=CoreApplication_Static):
|
|
109
|
+
pass
|
|
110
|
+
|
|
111
|
+
@typing.final
|
|
112
|
+
class CoreApplicationView(winrt.system.Object):
|
|
113
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Core.CoreApplicationView::add_Activated(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Core.CoreApplicationView,Windows.ApplicationModel.Activation.IActivatedEventArgs>)
|
|
114
|
+
def add_activated(self, handler: windows_foundation.TypedEventHandler[CoreApplicationView, windows_applicationmodel_activation.IActivatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
115
|
+
# System.Void Windows.ApplicationModel.Core.CoreApplicationView::remove_Activated(Windows.Foundation.EventRegistrationToken)
|
|
116
|
+
def remove_activated(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
117
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Core.CoreApplicationView::add_HostedViewClosing(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Core.CoreApplicationView,Windows.ApplicationModel.Core.HostedViewClosingEventArgs>)
|
|
118
|
+
def add_hosted_view_closing(self, handler: windows_foundation.TypedEventHandler[CoreApplicationView, HostedViewClosingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
119
|
+
# System.Void Windows.ApplicationModel.Core.CoreApplicationView::remove_HostedViewClosing(Windows.Foundation.EventRegistrationToken)
|
|
120
|
+
def remove_hosted_view_closing(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
121
|
+
# Windows.UI.Core.CoreWindow Windows.ApplicationModel.Core.CoreApplicationView::get_CoreWindow()
|
|
122
|
+
@_property
|
|
123
|
+
def core_window(self) -> windows_ui_core.CoreWindow: ...
|
|
124
|
+
# System.Boolean Windows.ApplicationModel.Core.CoreApplicationView::get_IsHosted()
|
|
125
|
+
@_property
|
|
126
|
+
def is_hosted(self) -> bool: ...
|
|
127
|
+
# System.Boolean Windows.ApplicationModel.Core.CoreApplicationView::get_IsMain()
|
|
128
|
+
@_property
|
|
129
|
+
def is_main(self) -> bool: ...
|
|
130
|
+
# Windows.UI.Core.CoreDispatcher Windows.ApplicationModel.Core.CoreApplicationView::get_Dispatcher()
|
|
131
|
+
@_property
|
|
132
|
+
def dispatcher(self) -> windows_ui_core.CoreDispatcher: ...
|
|
133
|
+
# System.Boolean Windows.ApplicationModel.Core.CoreApplicationView::get_IsComponent()
|
|
134
|
+
@_property
|
|
135
|
+
def is_component(self) -> bool: ...
|
|
136
|
+
# Windows.ApplicationModel.Core.CoreApplicationViewTitleBar Windows.ApplicationModel.Core.CoreApplicationView::get_TitleBar()
|
|
137
|
+
@_property
|
|
138
|
+
def title_bar(self) -> CoreApplicationViewTitleBar: ...
|
|
139
|
+
# Windows.Foundation.Collections.IPropertySet Windows.ApplicationModel.Core.CoreApplicationView::get_Properties()
|
|
140
|
+
@_property
|
|
141
|
+
def properties(self) -> windows_foundation_collections.IPropertySet: ...
|
|
142
|
+
# Windows.System.DispatcherQueue Windows.ApplicationModel.Core.CoreApplicationView::get_DispatcherQueue()
|
|
143
|
+
@_property
|
|
144
|
+
def dispatcher_queue(self) -> windows_system.DispatcherQueue: ...
|
|
145
|
+
|
|
146
|
+
@typing.final
|
|
147
|
+
class CoreApplicationViewTitleBar(winrt.system.Object):
|
|
148
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Core.CoreApplicationViewTitleBar::add_IsVisibleChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Core.CoreApplicationViewTitleBar,System.Object>)
|
|
149
|
+
def add_is_visible_changed(self, handler: windows_foundation.TypedEventHandler[CoreApplicationViewTitleBar, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
150
|
+
# System.Void Windows.ApplicationModel.Core.CoreApplicationViewTitleBar::remove_IsVisibleChanged(Windows.Foundation.EventRegistrationToken)
|
|
151
|
+
def remove_is_visible_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
152
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Core.CoreApplicationViewTitleBar::add_LayoutMetricsChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Core.CoreApplicationViewTitleBar,System.Object>)
|
|
153
|
+
def add_layout_metrics_changed(self, handler: windows_foundation.TypedEventHandler[CoreApplicationViewTitleBar, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
154
|
+
# System.Void Windows.ApplicationModel.Core.CoreApplicationViewTitleBar::remove_LayoutMetricsChanged(Windows.Foundation.EventRegistrationToken)
|
|
155
|
+
def remove_layout_metrics_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
156
|
+
# System.Boolean Windows.ApplicationModel.Core.CoreApplicationViewTitleBar::get_ExtendViewIntoTitleBar()
|
|
157
|
+
@_property
|
|
158
|
+
def extend_view_into_title_bar(self) -> bool: ...
|
|
159
|
+
# System.Void Windows.ApplicationModel.Core.CoreApplicationViewTitleBar::put_ExtendViewIntoTitleBar(System.Boolean)
|
|
160
|
+
@extend_view_into_title_bar.setter
|
|
161
|
+
def extend_view_into_title_bar(self, value: bool) -> None: ...
|
|
162
|
+
# System.Double Windows.ApplicationModel.Core.CoreApplicationViewTitleBar::get_Height()
|
|
163
|
+
@_property
|
|
164
|
+
def height(self) -> winrt.system.Double: ...
|
|
165
|
+
# System.Boolean Windows.ApplicationModel.Core.CoreApplicationViewTitleBar::get_IsVisible()
|
|
166
|
+
@_property
|
|
167
|
+
def is_visible(self) -> bool: ...
|
|
168
|
+
# System.Double Windows.ApplicationModel.Core.CoreApplicationViewTitleBar::get_SystemOverlayLeftInset()
|
|
169
|
+
@_property
|
|
170
|
+
def system_overlay_left_inset(self) -> winrt.system.Double: ...
|
|
171
|
+
# System.Double Windows.ApplicationModel.Core.CoreApplicationViewTitleBar::get_SystemOverlayRightInset()
|
|
172
|
+
@_property
|
|
173
|
+
def system_overlay_right_inset(self) -> winrt.system.Double: ...
|
|
174
|
+
|
|
175
|
+
@typing.final
|
|
176
|
+
class HostedViewClosingEventArgs(winrt.system.Object):
|
|
177
|
+
# Windows.Foundation.Deferral Windows.ApplicationModel.Core.HostedViewClosingEventArgs::GetDeferral()
|
|
178
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
179
|
+
|
|
180
|
+
@typing.final
|
|
181
|
+
class UnhandledError(winrt.system.Object):
|
|
182
|
+
# System.Void Windows.ApplicationModel.Core.UnhandledError::Propagate()
|
|
183
|
+
def propagate(self) -> None: ...
|
|
184
|
+
# System.Boolean Windows.ApplicationModel.Core.UnhandledError::get_Handled()
|
|
185
|
+
@_property
|
|
186
|
+
def handled(self) -> bool: ...
|
|
187
|
+
|
|
188
|
+
@typing.final
|
|
189
|
+
class UnhandledErrorDetectedEventArgs(winrt.system.Object):
|
|
190
|
+
# Windows.ApplicationModel.Core.UnhandledError Windows.ApplicationModel.Core.UnhandledErrorDetectedEventArgs::get_UnhandledError()
|
|
191
|
+
@_property
|
|
192
|
+
def unhandled_error(self) -> UnhandledError: ...
|
|
193
|
+
|
|
194
|
+
@typing.final
|
|
195
|
+
class _ICoreApplicationUnhandledError: ...
|
|
196
|
+
|
|
197
|
+
class ICoreApplicationUnhandledError(winrt._winrt.IInspectable):
|
|
198
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Core.ICoreApplicationUnhandledError::add_UnhandledErrorDetected(Windows.Foundation.EventHandler`1<Windows.ApplicationModel.Core.UnhandledErrorDetectedEventArgs>)
|
|
199
|
+
@abstractmethod
|
|
200
|
+
def add_unhandled_error_detected(self, handler: windows_foundation.EventHandler[UnhandledErrorDetectedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
201
|
+
# System.Void Windows.ApplicationModel.Core.ICoreApplicationUnhandledError::remove_UnhandledErrorDetected(Windows.Foundation.EventRegistrationToken)
|
|
202
|
+
@abstractmethod
|
|
203
|
+
def remove_unhandled_error_detected(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
204
|
+
|
|
205
|
+
@typing.final
|
|
206
|
+
class _IFrameworkView: ...
|
|
207
|
+
|
|
208
|
+
class IFrameworkView(winrt._winrt.IInspectable):
|
|
209
|
+
# System.Void Windows.ApplicationModel.Core.IFrameworkView::Initialize(Windows.ApplicationModel.Core.CoreApplicationView)
|
|
210
|
+
@abstractmethod
|
|
211
|
+
def initialize(self, application_view: CoreApplicationView, /) -> None: ...
|
|
212
|
+
# System.Void Windows.ApplicationModel.Core.IFrameworkView::Load(System.String)
|
|
213
|
+
@abstractmethod
|
|
214
|
+
def load(self, entry_point: str, /) -> None: ...
|
|
215
|
+
# System.Void Windows.ApplicationModel.Core.IFrameworkView::Run()
|
|
216
|
+
@abstractmethod
|
|
217
|
+
def run(self) -> None: ...
|
|
218
|
+
# System.Void Windows.ApplicationModel.Core.IFrameworkView::SetWindow(Windows.UI.Core.CoreWindow)
|
|
219
|
+
@abstractmethod
|
|
220
|
+
def set_window(self, window: windows_ui_core.CoreWindow, /) -> None: ...
|
|
221
|
+
# System.Void Windows.ApplicationModel.Core.IFrameworkView::Uninitialize()
|
|
222
|
+
@abstractmethod
|
|
223
|
+
def uninitialize(self) -> None: ...
|
|
224
|
+
|
|
225
|
+
@typing.final
|
|
226
|
+
class _IFrameworkViewSource: ...
|
|
227
|
+
|
|
228
|
+
class IFrameworkViewSource(winrt._winrt.IInspectable):
|
|
229
|
+
# Windows.ApplicationModel.Core.IFrameworkView Windows.ApplicationModel.Core.IFrameworkViewSource::CreateView()
|
|
230
|
+
@abstractmethod
|
|
231
|
+
def create_view(self) -> IFrameworkView: ...
|
|
232
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt._winrt_windows_applicationmodel_core import (
|
|
7
|
+
AppListEntry,
|
|
8
|
+
CoreApplication,
|
|
9
|
+
CoreApplicationView,
|
|
10
|
+
CoreApplicationViewTitleBar,
|
|
11
|
+
HostedViewClosingEventArgs,
|
|
12
|
+
UnhandledError,
|
|
13
|
+
UnhandledErrorDetectedEventArgs,
|
|
14
|
+
_ICoreApplicationUnhandledError,
|
|
15
|
+
ICoreApplicationUnhandledError,
|
|
16
|
+
_IFrameworkView,
|
|
17
|
+
IFrameworkView,
|
|
18
|
+
_IFrameworkViewSource,
|
|
19
|
+
IFrameworkViewSource,
|
|
20
|
+
)
|
|
21
|
+
|
|
22
|
+
__all__ = [
|
|
23
|
+
"AppRestartFailureReason",
|
|
24
|
+
"AppListEntry",
|
|
25
|
+
"CoreApplication",
|
|
26
|
+
"CoreApplicationView",
|
|
27
|
+
"CoreApplicationViewTitleBar",
|
|
28
|
+
"HostedViewClosingEventArgs",
|
|
29
|
+
"UnhandledError",
|
|
30
|
+
"UnhandledErrorDetectedEventArgs",
|
|
31
|
+
"ICoreApplicationUnhandledError",
|
|
32
|
+
"IFrameworkView",
|
|
33
|
+
"IFrameworkViewSource",
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
class AppRestartFailureReason(enum.IntEnum):
|
|
37
|
+
RESTART_PENDING = 0
|
|
38
|
+
NOT_IN_FOREGROUND = 1
|
|
39
|
+
INVALID_USER = 2
|
|
40
|
+
OTHER = 3
|
|
41
|
+
|
|
File without changes
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.Core
|
|
3
|
+
Version: 3.2.1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License-Expression: 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.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime~=3.2.1.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel[all]~=3.2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Activation[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.System[all]~=3.2.1.0; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.UI.Core[all]~=3.2.1.0; extra == "all"
|
|
23
|
+
|
|
24
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
25
|
+
|
|
26
|
+
# winrt-Windows.ApplicationModel.Core
|
|
27
|
+
|
|
28
|
+
Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Core` namespace.
|
|
29
|
+
|
|
30
|
+
This package provides the `winrt.windows.applicationmodel.core` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_applicationmodel_core.cp314-win32.pyd,sha256=UTRzpmKMDXuSYkTdXpB6MGo08MpzmUBFCmR51fS-0EU,208384
|
|
2
|
+
winrt/_winrt_windows_applicationmodel_core.pyi,sha256=avQsC5DFc-TPLoyfdFw64CMtI3JDopmKOVBBoVBb8w8,18309
|
|
3
|
+
winrt/windows/applicationmodel/core/__init__.py,sha256=Hm34ZFNcePpaI5q5Cf8gzQzajpHlF0EFJg2BTupladg,992
|
|
4
|
+
winrt/windows/applicationmodel/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_applicationmodel_core-3.2.1.dist-info/METADATA,sha256=_FTwDsNqLoRxOP5mRDTD711KW12Zp3iELt0oWQFk1yE,1456
|
|
6
|
+
winrt_windows_applicationmodel_core-3.2.1.dist-info/WHEEL,sha256=avp3B09fSRXVHn4cshTNKc58MtFVN-cVe0NyrqeYT2s,97
|
|
7
|
+
winrt_windows_applicationmodel_core-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_applicationmodel_core-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|