winrt-Windows.ApplicationModel.Core 2.2.0__cp313-cp313-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.
@@ -0,0 +1,169 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
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
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.applicationmodel as windows_applicationmodel
13
+ import winrt.windows.applicationmodel.activation as windows_applicationmodel_activation
14
+ import winrt.windows.foundation as windows_foundation
15
+ import winrt.windows.foundation.collections as windows_foundation_collections
16
+ import winrt.windows.system as windows_system
17
+ import winrt.windows.ui.core as windows_ui_core
18
+
19
+ from winrt.windows.applicationmodel.core import AppRestartFailureReason
20
+
21
+ Self = typing.TypeVar('Self')
22
+
23
+ @typing.final
24
+ class AppListEntry(winrt.system.Object):
25
+ @staticmethod
26
+ def _from(obj: winrt.system.Object, /) -> AppListEntry: ...
27
+ def launch_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
28
+ def launch_for_user_async(self, user: typing.Optional[windows_system.User], /) -> windows_foundation.IAsyncOperation[bool]: ...
29
+ @_property
30
+ def display_info(self) -> typing.Optional[windows_applicationmodel.AppDisplayInfo]: ...
31
+ @_property
32
+ def app_user_model_id(self) -> str: ...
33
+ @_property
34
+ def app_info(self) -> typing.Optional[windows_applicationmodel.AppInfo]: ...
35
+
36
+ @typing.final
37
+ class CoreApplication_Static(type):
38
+ @typing.overload
39
+ def create_new_view(cls) -> typing.Optional[CoreApplicationView]: ...
40
+ @typing.overload
41
+ def create_new_view(cls, view_source: typing.Optional[IFrameworkViewSource], /) -> typing.Optional[CoreApplicationView]: ...
42
+ @typing.overload
43
+ def create_new_view(cls, runtime_type: str, entry_point: str, /) -> typing.Optional[CoreApplicationView]: ...
44
+ def decrement_application_use_count(cls) -> None: ...
45
+ def enable_prelaunch(cls, value: bool, /) -> None: ...
46
+ def exit(cls) -> None: ...
47
+ def get_current_view(cls) -> typing.Optional[CoreApplicationView]: ...
48
+ def increment_application_use_count(cls) -> None: ...
49
+ def request_restart_async(cls, launch_arguments: str, /) -> windows_foundation.IAsyncOperation[AppRestartFailureReason]: ...
50
+ def request_restart_for_user_async(cls, user: typing.Optional[windows_system.User], launch_arguments: str, /) -> windows_foundation.IAsyncOperation[AppRestartFailureReason]: ...
51
+ def run(cls, view_source: typing.Optional[IFrameworkViewSource], /) -> None: ...
52
+ def run_with_activation_factories(cls, activation_factory_callback: typing.Optional[windows_foundation.IGetActivationFactory], /) -> None: ...
53
+ def add_unhandled_error_detected(cls, handler: windows_foundation.EventHandler[UnhandledErrorDetectedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
54
+ def remove_unhandled_error_detected(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
55
+ def add_exiting(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
56
+ def remove_exiting(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
57
+ def add_background_activated(cls, handler: windows_foundation.EventHandler[windows_applicationmodel_activation.BackgroundActivatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
58
+ def remove_background_activated(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
59
+ def add_entered_background(cls, handler: windows_foundation.EventHandler[windows_applicationmodel.EnteredBackgroundEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
60
+ def remove_entered_background(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
61
+ def add_leaving_background(cls, handler: windows_foundation.EventHandler[windows_applicationmodel.LeavingBackgroundEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
62
+ def remove_leaving_background(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
63
+ def add_resuming(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
64
+ def remove_resuming(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
65
+ def add_suspending(cls, handler: windows_foundation.EventHandler[windows_applicationmodel.SuspendingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
66
+ def remove_suspending(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
67
+ @_property
68
+ def id(cls) -> str: ...
69
+ @_property
70
+ def properties(cls) -> typing.Optional[windows_foundation_collections.IPropertySet]: ...
71
+ @_property
72
+ def main_view(cls) -> typing.Optional[CoreApplicationView]: ...
73
+ @_property
74
+ def views(cls) -> typing.Optional[windows_foundation_collections.IVectorView[CoreApplicationView]]: ...
75
+
76
+ @typing.final
77
+ class CoreApplication(winrt.system.Object, metaclass=CoreApplication_Static):
78
+ pass
79
+
80
+ @typing.final
81
+ class CoreApplicationView(winrt.system.Object):
82
+ @staticmethod
83
+ def _from(obj: winrt.system.Object, /) -> CoreApplicationView: ...
84
+ def add_activated(self, handler: windows_foundation.TypedEventHandler[CoreApplicationView, windows_applicationmodel_activation.IActivatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
85
+ def remove_activated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
86
+ def add_hosted_view_closing(self, handler: windows_foundation.TypedEventHandler[CoreApplicationView, HostedViewClosingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
87
+ def remove_hosted_view_closing(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
88
+ @_property
89
+ def core_window(self) -> typing.Optional[windows_ui_core.CoreWindow]: ...
90
+ @_property
91
+ def is_hosted(self) -> bool: ...
92
+ @_property
93
+ def is_main(self) -> bool: ...
94
+ @_property
95
+ def dispatcher(self) -> typing.Optional[windows_ui_core.CoreDispatcher]: ...
96
+ @_property
97
+ def is_component(self) -> bool: ...
98
+ @_property
99
+ def title_bar(self) -> typing.Optional[CoreApplicationViewTitleBar]: ...
100
+ @_property
101
+ def properties(self) -> typing.Optional[windows_foundation_collections.IPropertySet]: ...
102
+ @_property
103
+ def dispatcher_queue(self) -> typing.Optional[windows_system.DispatcherQueue]: ...
104
+
105
+ @typing.final
106
+ class CoreApplicationViewTitleBar(winrt.system.Object):
107
+ @staticmethod
108
+ def _from(obj: winrt.system.Object, /) -> CoreApplicationViewTitleBar: ...
109
+ def add_is_visible_changed(self, handler: windows_foundation.TypedEventHandler[CoreApplicationViewTitleBar, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
110
+ def remove_is_visible_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
111
+ def add_layout_metrics_changed(self, handler: windows_foundation.TypedEventHandler[CoreApplicationViewTitleBar, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
112
+ def remove_layout_metrics_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
113
+ @_property
114
+ def extend_view_into_title_bar(self) -> bool: ...
115
+ @extend_view_into_title_bar.setter
116
+ def extend_view_into_title_bar(self, value: bool) -> None: ...
117
+ @_property
118
+ def height(self) -> winrt.system.Double: ...
119
+ @_property
120
+ def is_visible(self) -> bool: ...
121
+ @_property
122
+ def system_overlay_left_inset(self) -> winrt.system.Double: ...
123
+ @_property
124
+ def system_overlay_right_inset(self) -> winrt.system.Double: ...
125
+
126
+ @typing.final
127
+ class HostedViewClosingEventArgs(winrt.system.Object):
128
+ @staticmethod
129
+ def _from(obj: winrt.system.Object, /) -> HostedViewClosingEventArgs: ...
130
+ def get_deferral(self) -> typing.Optional[windows_foundation.Deferral]: ...
131
+
132
+ @typing.final
133
+ class UnhandledError(winrt.system.Object):
134
+ @staticmethod
135
+ def _from(obj: winrt.system.Object, /) -> UnhandledError: ...
136
+ def propagate(self) -> None: ...
137
+ @_property
138
+ def handled(self) -> bool: ...
139
+
140
+ @typing.final
141
+ class UnhandledErrorDetectedEventArgs(winrt.system.Object):
142
+ @staticmethod
143
+ def _from(obj: winrt.system.Object, /) -> UnhandledErrorDetectedEventArgs: ...
144
+ @_property
145
+ def unhandled_error(self) -> typing.Optional[UnhandledError]: ...
146
+
147
+ @typing.final
148
+ class ICoreApplicationUnhandledError(winrt.system.Object):
149
+ @staticmethod
150
+ def _from(obj: winrt.system.Object, /) -> ICoreApplicationUnhandledError: ...
151
+ def add_unhandled_error_detected(self, handler: windows_foundation.EventHandler[UnhandledErrorDetectedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
152
+ def remove_unhandled_error_detected(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
153
+
154
+ @typing.final
155
+ class IFrameworkView(winrt.system.Object):
156
+ @staticmethod
157
+ def _from(obj: winrt.system.Object, /) -> IFrameworkView: ...
158
+ def initialize(self, application_view: typing.Optional[CoreApplicationView], /) -> None: ...
159
+ def load(self, entry_point: str, /) -> None: ...
160
+ def run(self) -> None: ...
161
+ def set_window(self, window: typing.Optional[windows_ui_core.CoreWindow], /) -> None: ...
162
+ def uninitialize(self) -> None: ...
163
+
164
+ @typing.final
165
+ class IFrameworkViewSource(winrt.system.Object):
166
+ @staticmethod
167
+ def _from(obj: winrt.system.Object, /) -> IFrameworkViewSource: ...
168
+ def create_view(self) -> typing.Optional[IFrameworkView]: ...
169
+
@@ -0,0 +1,37 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt import _winrt_windows_applicationmodel_core
7
+
8
+ __all__ = [
9
+ "AppRestartFailureReason",
10
+ "AppListEntry",
11
+ "CoreApplication",
12
+ "CoreApplicationView",
13
+ "CoreApplicationViewTitleBar",
14
+ "HostedViewClosingEventArgs",
15
+ "UnhandledError",
16
+ "UnhandledErrorDetectedEventArgs",
17
+ "ICoreApplicationUnhandledError",
18
+ "IFrameworkView",
19
+ "IFrameworkViewSource",
20
+ ]
21
+
22
+ class AppRestartFailureReason(enum.IntEnum):
23
+ RESTART_PENDING = 0
24
+ NOT_IN_FOREGROUND = 1
25
+ INVALID_USER = 2
26
+ OTHER = 3
27
+
28
+ AppListEntry = _winrt_windows_applicationmodel_core.AppListEntry
29
+ CoreApplication = _winrt_windows_applicationmodel_core.CoreApplication
30
+ CoreApplicationView = _winrt_windows_applicationmodel_core.CoreApplicationView
31
+ CoreApplicationViewTitleBar = _winrt_windows_applicationmodel_core.CoreApplicationViewTitleBar
32
+ HostedViewClosingEventArgs = _winrt_windows_applicationmodel_core.HostedViewClosingEventArgs
33
+ UnhandledError = _winrt_windows_applicationmodel_core.UnhandledError
34
+ UnhandledErrorDetectedEventArgs = _winrt_windows_applicationmodel_core.UnhandledErrorDetectedEventArgs
35
+ ICoreApplicationUnhandledError = _winrt_windows_applicationmodel_core.ICoreApplicationUnhandledError
36
+ IFrameworkView = _winrt_windows_applicationmodel_core.IFrameworkView
37
+ IFrameworkViewSource = _winrt_windows_applicationmodel_core.IFrameworkViewSource
File without changes
@@ -0,0 +1,30 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.ApplicationModel.Core
3
+ Version: 2.2.0
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: 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.14,>=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime ==2.2.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.ApplicationModel[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.ApplicationModel.Activation[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
21
+ Requires-Dist: winrt-Windows.System[all] ==2.2.0 ; extra == 'all'
22
+ Requires-Dist: winrt-Windows.UI.Core[all] ==2.2.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.cp313-win32.pyd,sha256=I42p07x9XgcsDBVPAwZ94jkVS-Kg70JX7rldf5t2qV4,166912
2
+ winrt/_winrt_windows_applicationmodel_core.pyi,sha256=dAam7W6UAwTLUM58Lib9-jQ0VY-7GVLj8jNxxPENXWQ,9439
3
+ winrt/windows/applicationmodel/core/__init__.py,sha256=mRVhc8JW7ZV694bbg6QHdHkbQ7V4jUnMxjkaE-6iJcY,1461
4
+ winrt/windows/applicationmodel/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.ApplicationModel.Core-2.2.0.dist-info/METADATA,sha256=8ITAYJYskqzUeXnPvwdcr3ZRoxRcVJroz0BEUpHDC_0,1450
6
+ winrt_Windows.ApplicationModel.Core-2.2.0.dist-info/WHEEL,sha256=rHSPOKLHVf857fDiba9Pzuf1iCvh9pcRQ5-VWQYz3ms,97
7
+ winrt_Windows.ApplicationModel.Core-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.ApplicationModel.Core-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win32
5
+