winrt-Windows.UI.Xaml.Hosting 2.2.0__cp313-cp313-win_arm64.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,199 @@
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.foundation as windows_foundation
13
+ import winrt.windows.ui.composition as windows_ui_composition
14
+ import winrt.windows.ui.windowmanagement as windows_ui_windowmanagement
15
+ import winrt.windows.ui.xaml as windows_ui_xaml
16
+ import winrt.windows.ui.xaml.controls as windows_ui_xaml_controls
17
+ import winrt.windows.ui.xaml.controls.primitives as windows_ui_xaml_controls_primitives
18
+
19
+ from winrt.windows.ui.xaml.hosting import DesignerAppViewState, XamlSourceFocusNavigationReason
20
+
21
+ Self = typing.TypeVar('Self')
22
+
23
+ @typing.final
24
+ class DesignerAppExitedEventArgs(winrt.system.Object):
25
+ @staticmethod
26
+ def _from(obj: winrt.system.Object, /) -> DesignerAppExitedEventArgs: ...
27
+ @_property
28
+ def exit_code(self) -> winrt.system.UInt32: ...
29
+
30
+ @typing.final
31
+ class DesignerAppManager(winrt.system.Object):
32
+ def __enter__(self: Self) -> Self: ...
33
+ def __exit__(self, *args) -> None: ...
34
+ @staticmethod
35
+ def _from(obj: winrt.system.Object, /) -> DesignerAppManager: ...
36
+ def __new__(cls: typing.Type[DesignerAppManager], app_user_model_id: str) -> DesignerAppManager: ...
37
+ def close(self) -> None: ...
38
+ def create_new_view_async(self, initial_view_state: DesignerAppViewState, initial_view_size: windows_foundation.Size, /) -> windows_foundation.IAsyncOperation[DesignerAppView]: ...
39
+ def load_object_into_app_async(self, dll_name: str, class_id: _uuid.UUID, initialization_data: str, /) -> windows_foundation.IAsyncAction: ...
40
+ def add_designer_app_exited(self, handler: windows_foundation.TypedEventHandler[DesignerAppManager, DesignerAppExitedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
41
+ def remove_designer_app_exited(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
42
+ @_property
43
+ def app_user_model_id(self) -> str: ...
44
+
45
+ @typing.final
46
+ class DesignerAppView(winrt.system.Object):
47
+ def __enter__(self: Self) -> Self: ...
48
+ def __exit__(self, *args) -> None: ...
49
+ @staticmethod
50
+ def _from(obj: winrt.system.Object, /) -> DesignerAppView: ...
51
+ def close(self) -> None: ...
52
+ def update_view_async(self, view_state: DesignerAppViewState, view_size: windows_foundation.Size, /) -> windows_foundation.IAsyncAction: ...
53
+ @_property
54
+ def app_user_model_id(self) -> str: ...
55
+ @_property
56
+ def application_view_id(self) -> winrt.system.Int32: ...
57
+ @_property
58
+ def view_size(self) -> windows_foundation.Size: ...
59
+ @_property
60
+ def view_state(self) -> DesignerAppViewState: ...
61
+
62
+ @typing.final
63
+ class DesktopWindowXamlSource(winrt.system.Object):
64
+ def __enter__(self: Self) -> Self: ...
65
+ def __exit__(self, *args) -> None: ...
66
+ @staticmethod
67
+ def _from(obj: winrt.system.Object, /) -> DesktopWindowXamlSource: ...
68
+ def __new__(cls: typing.Type[DesktopWindowXamlSource]) -> DesktopWindowXamlSource: ...
69
+ def close(self) -> None: ...
70
+ def navigate_focus(self, request: typing.Optional[XamlSourceFocusNavigationRequest], /) -> typing.Optional[XamlSourceFocusNavigationResult]: ...
71
+ def add_got_focus(self, handler: windows_foundation.TypedEventHandler[DesktopWindowXamlSource, DesktopWindowXamlSourceGotFocusEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
72
+ def remove_got_focus(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
73
+ def add_take_focus_requested(self, handler: windows_foundation.TypedEventHandler[DesktopWindowXamlSource, DesktopWindowXamlSourceTakeFocusRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
74
+ def remove_take_focus_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
75
+ @_property
76
+ def content(self) -> typing.Optional[windows_ui_xaml.UIElement]: ...
77
+ @content.setter
78
+ def content(self, value: typing.Optional[windows_ui_xaml.UIElement]) -> None: ...
79
+ @_property
80
+ def has_focus(self) -> bool: ...
81
+
82
+ @typing.final
83
+ class DesktopWindowXamlSourceGotFocusEventArgs(winrt.system.Object):
84
+ @staticmethod
85
+ def _from(obj: winrt.system.Object, /) -> DesktopWindowXamlSourceGotFocusEventArgs: ...
86
+ @_property
87
+ def request(self) -> typing.Optional[XamlSourceFocusNavigationRequest]: ...
88
+
89
+ @typing.final
90
+ class DesktopWindowXamlSourceTakeFocusRequestedEventArgs(winrt.system.Object):
91
+ @staticmethod
92
+ def _from(obj: winrt.system.Object, /) -> DesktopWindowXamlSourceTakeFocusRequestedEventArgs: ...
93
+ @_property
94
+ def request(self) -> typing.Optional[XamlSourceFocusNavigationRequest]: ...
95
+
96
+ @typing.final
97
+ class ElementCompositionPreview_Static(type):
98
+ def get_app_window_content(cls, app_window: typing.Optional[windows_ui_windowmanagement.AppWindow], /) -> typing.Optional[windows_ui_xaml.UIElement]: ...
99
+ def get_element_child_visual(cls, element: typing.Optional[windows_ui_xaml.UIElement], /) -> typing.Optional[windows_ui_composition.Visual]: ...
100
+ def get_element_visual(cls, element: typing.Optional[windows_ui_xaml.UIElement], /) -> typing.Optional[windows_ui_composition.Visual]: ...
101
+ def get_pointer_position_property_set(cls, target_element: typing.Optional[windows_ui_xaml.UIElement], /) -> typing.Optional[windows_ui_composition.CompositionPropertySet]: ...
102
+ def get_scroll_viewer_manipulation_property_set(cls, scroll_viewer: typing.Optional[windows_ui_xaml_controls.ScrollViewer], /) -> typing.Optional[windows_ui_composition.CompositionPropertySet]: ...
103
+ def set_app_window_content(cls, app_window: typing.Optional[windows_ui_windowmanagement.AppWindow], xaml_content: typing.Optional[windows_ui_xaml.UIElement], /) -> None: ...
104
+ def set_element_child_visual(cls, element: typing.Optional[windows_ui_xaml.UIElement], visual: typing.Optional[windows_ui_composition.Visual], /) -> None: ...
105
+ def set_implicit_hide_animation(cls, element: typing.Optional[windows_ui_xaml.UIElement], animation: typing.Optional[windows_ui_composition.ICompositionAnimationBase], /) -> None: ...
106
+ def set_implicit_show_animation(cls, element: typing.Optional[windows_ui_xaml.UIElement], animation: typing.Optional[windows_ui_composition.ICompositionAnimationBase], /) -> None: ...
107
+ def set_is_translation_enabled(cls, element: typing.Optional[windows_ui_xaml.UIElement], value: bool, /) -> None: ...
108
+
109
+ @typing.final
110
+ class ElementCompositionPreview(winrt.system.Object, metaclass=ElementCompositionPreview_Static):
111
+ @staticmethod
112
+ def _from(obj: winrt.system.Object, /) -> ElementCompositionPreview: ...
113
+
114
+ @typing.final
115
+ class WindowsXamlManager_Static(type):
116
+ def initialize_for_current_thread(cls) -> typing.Optional[WindowsXamlManager]: ...
117
+
118
+ @typing.final
119
+ class WindowsXamlManager(winrt.system.Object, metaclass=WindowsXamlManager_Static):
120
+ def __enter__(self: Self) -> Self: ...
121
+ def __exit__(self, *args) -> None: ...
122
+ @staticmethod
123
+ def _from(obj: winrt.system.Object, /) -> WindowsXamlManager: ...
124
+ def close(self) -> None: ...
125
+
126
+ @typing.final
127
+ class XamlSourceFocusNavigationRequest(winrt.system.Object):
128
+ @staticmethod
129
+ def _from(obj: winrt.system.Object, /) -> XamlSourceFocusNavigationRequest: ...
130
+ @typing.overload
131
+ def __new__(cls: typing.Type[XamlSourceFocusNavigationRequest], reason: XamlSourceFocusNavigationReason) -> XamlSourceFocusNavigationRequest: ...
132
+ @typing.overload
133
+ def __new__(cls: typing.Type[XamlSourceFocusNavigationRequest], reason: XamlSourceFocusNavigationReason, hint_rect: windows_foundation.Rect) -> XamlSourceFocusNavigationRequest: ...
134
+ @typing.overload
135
+ def __new__(cls: typing.Type[XamlSourceFocusNavigationRequest], reason: XamlSourceFocusNavigationReason, hint_rect: windows_foundation.Rect, correlation_id: _uuid.UUID) -> XamlSourceFocusNavigationRequest: ...
136
+ @_property
137
+ def correlation_id(self) -> _uuid.UUID: ...
138
+ @_property
139
+ def hint_rect(self) -> windows_foundation.Rect: ...
140
+ @_property
141
+ def reason(self) -> XamlSourceFocusNavigationReason: ...
142
+
143
+ @typing.final
144
+ class XamlSourceFocusNavigationResult(winrt.system.Object):
145
+ @staticmethod
146
+ def _from(obj: winrt.system.Object, /) -> XamlSourceFocusNavigationResult: ...
147
+ def __new__(cls: typing.Type[XamlSourceFocusNavigationResult], focus_moved: bool) -> XamlSourceFocusNavigationResult: ...
148
+ @_property
149
+ def was_focus_moved(self) -> bool: ...
150
+
151
+ @typing.final
152
+ class XamlUIPresenter_Static(type):
153
+ def get_flyout_placement(cls, placement_target_bounds: windows_foundation.Rect, control_size: windows_foundation.Size, min_control_size: windows_foundation.Size, container_rect: windows_foundation.Rect, target_preferred_placement: windows_ui_xaml_controls_primitives.FlyoutPlacementMode, allow_fallbacks: bool, /) -> typing.Tuple[windows_foundation.Rect, windows_ui_xaml_controls_primitives.FlyoutPlacementMode]: ...
154
+ def get_flyout_placement_target_info(cls, placement_target: typing.Optional[windows_ui_xaml.FrameworkElement], preferred_placement: windows_ui_xaml_controls_primitives.FlyoutPlacementMode, /) -> typing.Tuple[windows_foundation.Rect, windows_ui_xaml_controls_primitives.FlyoutPlacementMode, bool]: ...
155
+ def notify_window_size_changed(cls) -> None: ...
156
+ def set_host(cls, host: typing.Optional[IXamlUIPresenterHost], /) -> None: ...
157
+ @_property
158
+ def complete_timelines_automatically(cls) -> bool: ...
159
+ @complete_timelines_automatically.setter
160
+ def complete_timelines_automatically(cls, value: bool) -> None: ...
161
+
162
+ @typing.final
163
+ class XamlUIPresenter(winrt.system.Object, metaclass=XamlUIPresenter_Static):
164
+ @staticmethod
165
+ def _from(obj: winrt.system.Object, /) -> XamlUIPresenter: ...
166
+ def present(self) -> None: ...
167
+ def render(self) -> None: ...
168
+ def set_size(self, width: winrt.system.Int32, height: winrt.system.Int32, /) -> None: ...
169
+ @_property
170
+ def theme_resources_xaml(self) -> str: ...
171
+ @theme_resources_xaml.setter
172
+ def theme_resources_xaml(self, value: str) -> None: ...
173
+ @_property
174
+ def theme_key(self) -> str: ...
175
+ @theme_key.setter
176
+ def theme_key(self, value: str) -> None: ...
177
+ @_property
178
+ def root_element(self) -> typing.Optional[windows_ui_xaml.UIElement]: ...
179
+ @root_element.setter
180
+ def root_element(self, value: typing.Optional[windows_ui_xaml.UIElement]) -> None: ...
181
+
182
+ @typing.final
183
+ class IXamlUIPresenterHost(winrt.system.Object):
184
+ @staticmethod
185
+ def _from(obj: winrt.system.Object, /) -> IXamlUIPresenterHost: ...
186
+ def resolve_file_resource(self, path: str, /) -> str: ...
187
+
188
+ @typing.final
189
+ class IXamlUIPresenterHost2(winrt.system.Object):
190
+ @staticmethod
191
+ def _from(obj: winrt.system.Object, /) -> IXamlUIPresenterHost2: ...
192
+ def get_generic_xaml_file_path(self) -> str: ...
193
+
194
+ @typing.final
195
+ class IXamlUIPresenterHost3(winrt.system.Object):
196
+ @staticmethod
197
+ def _from(obj: winrt.system.Object, /) -> IXamlUIPresenterHost3: ...
198
+ def resolve_dictionary_resource(self, dictionary: typing.Optional[windows_ui_xaml.ResourceDictionary], dictionary_key: typing.Optional[winrt.system.Object], suggested_value: typing.Optional[winrt.system.Object], /) -> typing.Optional[winrt.system.Object]: ...
199
+
@@ -0,0 +1,54 @@
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_ui_xaml_hosting
7
+
8
+ __all__ = [
9
+ "DesignerAppViewState",
10
+ "XamlSourceFocusNavigationReason",
11
+ "DesignerAppExitedEventArgs",
12
+ "DesignerAppManager",
13
+ "DesignerAppView",
14
+ "DesktopWindowXamlSource",
15
+ "DesktopWindowXamlSourceGotFocusEventArgs",
16
+ "DesktopWindowXamlSourceTakeFocusRequestedEventArgs",
17
+ "ElementCompositionPreview",
18
+ "WindowsXamlManager",
19
+ "XamlSourceFocusNavigationRequest",
20
+ "XamlSourceFocusNavigationResult",
21
+ "XamlUIPresenter",
22
+ "IXamlUIPresenterHost",
23
+ "IXamlUIPresenterHost2",
24
+ "IXamlUIPresenterHost3",
25
+ ]
26
+
27
+ class DesignerAppViewState(enum.IntEnum):
28
+ VISIBLE = 0
29
+ HIDDEN = 1
30
+
31
+ class XamlSourceFocusNavigationReason(enum.IntEnum):
32
+ PROGRAMMATIC = 0
33
+ RESTORE = 1
34
+ FIRST = 3
35
+ LAST = 4
36
+ LEFT = 7
37
+ UP = 8
38
+ RIGHT = 9
39
+ DOWN = 10
40
+
41
+ DesignerAppExitedEventArgs = _winrt_windows_ui_xaml_hosting.DesignerAppExitedEventArgs
42
+ DesignerAppManager = _winrt_windows_ui_xaml_hosting.DesignerAppManager
43
+ DesignerAppView = _winrt_windows_ui_xaml_hosting.DesignerAppView
44
+ DesktopWindowXamlSource = _winrt_windows_ui_xaml_hosting.DesktopWindowXamlSource
45
+ DesktopWindowXamlSourceGotFocusEventArgs = _winrt_windows_ui_xaml_hosting.DesktopWindowXamlSourceGotFocusEventArgs
46
+ DesktopWindowXamlSourceTakeFocusRequestedEventArgs = _winrt_windows_ui_xaml_hosting.DesktopWindowXamlSourceTakeFocusRequestedEventArgs
47
+ ElementCompositionPreview = _winrt_windows_ui_xaml_hosting.ElementCompositionPreview
48
+ WindowsXamlManager = _winrt_windows_ui_xaml_hosting.WindowsXamlManager
49
+ XamlSourceFocusNavigationRequest = _winrt_windows_ui_xaml_hosting.XamlSourceFocusNavigationRequest
50
+ XamlSourceFocusNavigationResult = _winrt_windows_ui_xaml_hosting.XamlSourceFocusNavigationResult
51
+ XamlUIPresenter = _winrt_windows_ui_xaml_hosting.XamlUIPresenter
52
+ IXamlUIPresenterHost = _winrt_windows_ui_xaml_hosting.IXamlUIPresenterHost
53
+ IXamlUIPresenterHost2 = _winrt_windows_ui_xaml_hosting.IXamlUIPresenterHost2
54
+ IXamlUIPresenterHost3 = _winrt_windows_ui_xaml_hosting.IXamlUIPresenterHost3
File without changes
@@ -0,0 +1,30 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.UI.Xaml.Hosting
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.Foundation[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.UI.Composition[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.UI.WindowManagement[all] ==2.2.0 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.UI.Xaml[all] ==2.2.0 ; extra == 'all'
21
+ Requires-Dist: winrt-Windows.UI.Xaml.Controls[all] ==2.2.0 ; extra == 'all'
22
+ Requires-Dist: winrt-Windows.UI.Xaml.Controls.Primitives[all] ==2.2.0 ; extra == 'all'
23
+
24
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
25
+
26
+ # winrt-Windows.UI.Xaml.Hosting
27
+
28
+ Windows Runtime (WinRT) APIs for for the `Windows.UI.Xaml.Hosting` namespace.
29
+
30
+ This package provides the `winrt.windows.ui.xaml.hosting` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_ui_xaml_hosting.cp313-win_arm64.pyd,sha256=lubmx09VCKjIqqc4iuz__6pY3XJAdoMOPp-QmKgpd84,198144
2
+ winrt/_winrt_windows_ui_xaml_hosting.pyi,sha256=JnhEg3rFHjB1oTsev4owthVO2incGDUEwJvU8lrEgcY,11237
3
+ winrt/windows/ui/xaml/hosting/__init__.py,sha256=3DU5pdTUKydiWgI0IaI_ROacN3QY2oT4Fygvam8b4QE,2157
4
+ winrt/windows/ui/xaml/hosting/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.UI.Xaml.Hosting-2.2.0.dist-info/METADATA,sha256=5LUt9HVf4zDZ-cj0kdtEhStPt1ojLWM7JEly2W1EEUA,1431
6
+ winrt_Windows.UI.Xaml.Hosting-2.2.0.dist-info/WHEEL,sha256=Bc3zGnBzvnkuBaMd-KCqScACPFmA-93PSEDjeXqCzu8,101
7
+ winrt_Windows.UI.Xaml.Hosting-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.UI.Xaml.Hosting-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-win_arm64
5
+