winrt-Windows.UI.Xaml.Hosting 2.0.0b1__cp39-cp39-win_amd64.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,182 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.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
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.foundation
13
+ import winrt.windows.ui.composition
14
+ import winrt.windows.ui.windowmanagement
15
+ import winrt.windows.ui.xaml
16
+ import winrt.windows.ui.xaml.controls
17
+ import winrt.windows.ui.xaml.controls.primitives
18
+
19
+ from winrt.windows.ui.xaml.hosting import DesignerAppViewState, XamlSourceFocusNavigationReason
20
+
21
+ Self = typing.TypeVar('Self')
22
+
23
+ class DesignerAppExitedEventArgs(winrt.system.Object):
24
+ @staticmethod
25
+ def _from(obj: winrt.system.Object, /) -> DesignerAppExitedEventArgs: ...
26
+ @_property
27
+ def exit_code(self) -> winrt.system.UInt32: ...
28
+
29
+ class DesignerAppManager(winrt.system.Object):
30
+ def __enter__(self: Self) -> Self: ...
31
+ def __exit__(self, *args) -> None: ...
32
+ @staticmethod
33
+ def _from(obj: winrt.system.Object, /) -> DesignerAppManager: ...
34
+ def __new__(cls: typing.Type[DesignerAppManager], app_user_model_id: str) -> DesignerAppManager:...
35
+ def close(self) -> None: ...
36
+ def create_new_view_async(self, initial_view_state: DesignerAppViewState, initial_view_size: winrt.windows.foundation.Size, /) -> winrt.windows.foundation.IAsyncOperation[DesignerAppView]: ...
37
+ def load_object_into_app_async(self, dll_name: str, class_id: _uuid.UUID, initialization_data: str, /) -> winrt.windows.foundation.IAsyncAction: ...
38
+ def add_designer_app_exited(self, handler: winrt.windows.foundation.TypedEventHandler[DesignerAppManager, DesignerAppExitedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
39
+ def remove_designer_app_exited(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
40
+ @_property
41
+ def app_user_model_id(self) -> str: ...
42
+
43
+ class DesignerAppView(winrt.system.Object):
44
+ def __enter__(self: Self) -> Self: ...
45
+ def __exit__(self, *args) -> None: ...
46
+ @staticmethod
47
+ def _from(obj: winrt.system.Object, /) -> DesignerAppView: ...
48
+ def close(self) -> None: ...
49
+ def update_view_async(self, view_state: DesignerAppViewState, view_size: winrt.windows.foundation.Size, /) -> winrt.windows.foundation.IAsyncAction: ...
50
+ @_property
51
+ def app_user_model_id(self) -> str: ...
52
+ @_property
53
+ def application_view_id(self) -> winrt.system.Int32: ...
54
+ @_property
55
+ def view_size(self) -> winrt.windows.foundation.Size: ...
56
+ @_property
57
+ def view_state(self) -> DesignerAppViewState: ...
58
+
59
+ class DesktopWindowXamlSource(winrt.system.Object):
60
+ def __enter__(self: Self) -> Self: ...
61
+ def __exit__(self, *args) -> None: ...
62
+ @staticmethod
63
+ def _from(obj: winrt.system.Object, /) -> DesktopWindowXamlSource: ...
64
+ def __new__(cls: typing.Type[DesktopWindowXamlSource]) -> DesktopWindowXamlSource:...
65
+ def close(self) -> None: ...
66
+ def navigate_focus(self, request: typing.Optional[XamlSourceFocusNavigationRequest], /) -> typing.Optional[XamlSourceFocusNavigationResult]: ...
67
+ def add_got_focus(self, handler: winrt.windows.foundation.TypedEventHandler[DesktopWindowXamlSource, DesktopWindowXamlSourceGotFocusEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
68
+ def remove_got_focus(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
69
+ def add_take_focus_requested(self, handler: winrt.windows.foundation.TypedEventHandler[DesktopWindowXamlSource, DesktopWindowXamlSourceTakeFocusRequestedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
70
+ def remove_take_focus_requested(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
71
+ @_property
72
+ def content(self) -> typing.Optional[winrt.windows.ui.xaml.UIElement]: ...
73
+ @content.setter
74
+ def content(self, value: typing.Optional[winrt.windows.ui.xaml.UIElement]) -> None: ...
75
+ @_property
76
+ def has_focus(self) -> bool: ...
77
+
78
+ class DesktopWindowXamlSourceGotFocusEventArgs(winrt.system.Object):
79
+ @staticmethod
80
+ def _from(obj: winrt.system.Object, /) -> DesktopWindowXamlSourceGotFocusEventArgs: ...
81
+ @_property
82
+ def request(self) -> typing.Optional[XamlSourceFocusNavigationRequest]: ...
83
+
84
+ class DesktopWindowXamlSourceTakeFocusRequestedEventArgs(winrt.system.Object):
85
+ @staticmethod
86
+ def _from(obj: winrt.system.Object, /) -> DesktopWindowXamlSourceTakeFocusRequestedEventArgs: ...
87
+ @_property
88
+ def request(self) -> typing.Optional[XamlSourceFocusNavigationRequest]: ...
89
+
90
+ class ElementCompositionPreview_Static(type):
91
+ def get_app_window_content(cls, app_window: typing.Optional[winrt.windows.ui.windowmanagement.AppWindow], /) -> typing.Optional[winrt.windows.ui.xaml.UIElement]: ...
92
+ def get_element_child_visual(cls, element: typing.Optional[winrt.windows.ui.xaml.UIElement], /) -> typing.Optional[winrt.windows.ui.composition.Visual]: ...
93
+ def get_element_visual(cls, element: typing.Optional[winrt.windows.ui.xaml.UIElement], /) -> typing.Optional[winrt.windows.ui.composition.Visual]: ...
94
+ def get_pointer_position_property_set(cls, target_element: typing.Optional[winrt.windows.ui.xaml.UIElement], /) -> typing.Optional[winrt.windows.ui.composition.CompositionPropertySet]: ...
95
+ def get_scroll_viewer_manipulation_property_set(cls, scroll_viewer: typing.Optional[winrt.windows.ui.xaml.controls.ScrollViewer], /) -> typing.Optional[winrt.windows.ui.composition.CompositionPropertySet]: ...
96
+ def set_app_window_content(cls, app_window: typing.Optional[winrt.windows.ui.windowmanagement.AppWindow], xaml_content: typing.Optional[winrt.windows.ui.xaml.UIElement], /) -> None: ...
97
+ def set_element_child_visual(cls, element: typing.Optional[winrt.windows.ui.xaml.UIElement], visual: typing.Optional[winrt.windows.ui.composition.Visual], /) -> None: ...
98
+ def set_implicit_hide_animation(cls, element: typing.Optional[winrt.windows.ui.xaml.UIElement], animation: typing.Optional[winrt.windows.ui.composition.ICompositionAnimationBase], /) -> None: ...
99
+ def set_implicit_show_animation(cls, element: typing.Optional[winrt.windows.ui.xaml.UIElement], animation: typing.Optional[winrt.windows.ui.composition.ICompositionAnimationBase], /) -> None: ...
100
+ def set_is_translation_enabled(cls, element: typing.Optional[winrt.windows.ui.xaml.UIElement], value: bool, /) -> None: ...
101
+
102
+ class ElementCompositionPreview(winrt.system.Object, metaclass=ElementCompositionPreview_Static):
103
+ @staticmethod
104
+ def _from(obj: winrt.system.Object, /) -> ElementCompositionPreview: ...
105
+
106
+ class WindowsXamlManager_Static(type):
107
+ def initialize_for_current_thread(cls) -> typing.Optional[WindowsXamlManager]: ...
108
+
109
+ class WindowsXamlManager(winrt.system.Object, metaclass=WindowsXamlManager_Static):
110
+ def __enter__(self: Self) -> Self: ...
111
+ def __exit__(self, *args) -> None: ...
112
+ @staticmethod
113
+ def _from(obj: winrt.system.Object, /) -> WindowsXamlManager: ...
114
+ def close(self) -> None: ...
115
+
116
+ class XamlSourceFocusNavigationRequest(winrt.system.Object):
117
+ @staticmethod
118
+ def _from(obj: winrt.system.Object, /) -> XamlSourceFocusNavigationRequest: ...
119
+ @typing.overload
120
+ def __new__(cls: typing.Type[XamlSourceFocusNavigationRequest], reason: XamlSourceFocusNavigationReason) -> XamlSourceFocusNavigationRequest:...
121
+ @typing.overload
122
+ def __new__(cls: typing.Type[XamlSourceFocusNavigationRequest], reason: XamlSourceFocusNavigationReason, hint_rect: winrt.windows.foundation.Rect) -> XamlSourceFocusNavigationRequest:...
123
+ @typing.overload
124
+ def __new__(cls: typing.Type[XamlSourceFocusNavigationRequest], reason: XamlSourceFocusNavigationReason, hint_rect: winrt.windows.foundation.Rect, correlation_id: _uuid.UUID) -> XamlSourceFocusNavigationRequest:...
125
+ @_property
126
+ def correlation_id(self) -> _uuid.UUID: ...
127
+ @_property
128
+ def hint_rect(self) -> winrt.windows.foundation.Rect: ...
129
+ @_property
130
+ def reason(self) -> XamlSourceFocusNavigationReason: ...
131
+
132
+ class XamlSourceFocusNavigationResult(winrt.system.Object):
133
+ @staticmethod
134
+ def _from(obj: winrt.system.Object, /) -> XamlSourceFocusNavigationResult: ...
135
+ def __new__(cls: typing.Type[XamlSourceFocusNavigationResult], focus_moved: bool) -> XamlSourceFocusNavigationResult:...
136
+ @_property
137
+ def was_focus_moved(self) -> bool: ...
138
+
139
+ class XamlUIPresenter_Static(type):
140
+ def get_flyout_placement(cls, placement_target_bounds: winrt.windows.foundation.Rect, control_size: winrt.windows.foundation.Size, min_control_size: winrt.windows.foundation.Size, container_rect: winrt.windows.foundation.Rect, target_preferred_placement: winrt.windows.ui.xaml.controls.primitives.FlyoutPlacementMode, allow_fallbacks: bool, /) -> typing.Tuple[winrt.windows.foundation.Rect, winrt.windows.ui.xaml.controls.primitives.FlyoutPlacementMode]: ...
141
+ def get_flyout_placement_target_info(cls, placement_target: typing.Optional[winrt.windows.ui.xaml.FrameworkElement], preferred_placement: winrt.windows.ui.xaml.controls.primitives.FlyoutPlacementMode, /) -> typing.Tuple[winrt.windows.foundation.Rect, winrt.windows.ui.xaml.controls.primitives.FlyoutPlacementMode, bool]: ...
142
+ def notify_window_size_changed(cls) -> None: ...
143
+ def set_host(cls, host: typing.Optional[IXamlUIPresenterHost], /) -> None: ...
144
+ @_property
145
+ def complete_timelines_automatically(cls) -> bool: ...
146
+ @complete_timelines_automatically.setter
147
+ def complete_timelines_automatically(cls, value: bool) -> None: ...
148
+
149
+ class XamlUIPresenter(winrt.system.Object, metaclass=XamlUIPresenter_Static):
150
+ @staticmethod
151
+ def _from(obj: winrt.system.Object, /) -> XamlUIPresenter: ...
152
+ def present(self) -> None: ...
153
+ def render(self) -> None: ...
154
+ def set_size(self, width: winrt.system.Int32, height: winrt.system.Int32, /) -> None: ...
155
+ @_property
156
+ def theme_resources_xaml(self) -> str: ...
157
+ @theme_resources_xaml.setter
158
+ def theme_resources_xaml(self, value: str) -> None: ...
159
+ @_property
160
+ def theme_key(self) -> str: ...
161
+ @theme_key.setter
162
+ def theme_key(self, value: str) -> None: ...
163
+ @_property
164
+ def root_element(self) -> typing.Optional[winrt.windows.ui.xaml.UIElement]: ...
165
+ @root_element.setter
166
+ def root_element(self, value: typing.Optional[winrt.windows.ui.xaml.UIElement]) -> None: ...
167
+
168
+ class IXamlUIPresenterHost(winrt.system.Object):
169
+ @staticmethod
170
+ def _from(obj: winrt.system.Object, /) -> IXamlUIPresenterHost: ...
171
+ def resolve_file_resource(self, path: str, /) -> str: ...
172
+
173
+ class IXamlUIPresenterHost2(winrt.system.Object):
174
+ @staticmethod
175
+ def _from(obj: winrt.system.Object, /) -> IXamlUIPresenterHost2: ...
176
+ def get_generic_xaml_file_path(self) -> str: ...
177
+
178
+ class IXamlUIPresenterHost3(winrt.system.Object):
179
+ @staticmethod
180
+ def _from(obj: winrt.system.Object, /) -> IXamlUIPresenterHost3: ...
181
+ def resolve_dictionary_resource(self, dictionary: typing.Optional[winrt.windows.ui.xaml.ResourceDictionary], dictionary_key: typing.Optional[winrt.system.Object], suggested_value: typing.Optional[winrt.system.Object], /) -> typing.Optional[winrt.system.Object]: ...
182
+
@@ -0,0 +1,54 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
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
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.UI.Xaml.Hosting
3
+ Version: 2.0.0b1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Repository, https://github.com/pywrint/pywrinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
+ Classifier: Operating System :: Microsoft :: Windows
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: Implementation :: CPython
11
+ Classifier: Intended Audience :: Developers
12
+ Requires-Python: <3.13,>=3.9
13
+ Description-Content-Type: text/markdown
14
+ Requires-Dist: winrt-runtime ==2.0.0-beta.1
15
+ Provides-Extra: all
16
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.0.0-beta.1 ; extra == 'all'
17
+ Requires-Dist: winrt-Windows.UI.Composition[all] ==2.0.0-beta.1 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.UI.WindowManagement[all] ==2.0.0-beta.1 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.UI.Xaml[all] ==2.0.0-beta.1 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.UI.Xaml.Controls[all] ==2.0.0-beta.1 ; extra == 'all'
21
+ Requires-Dist: winrt-Windows.UI.Xaml.Controls.Primitives[all] ==2.0.0-beta.1 ; extra == 'all'
22
+
23
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
24
+
25
+ # winrt-Windows.UI.Xaml.Hosting
26
+
27
+ Windows Runtime (WinRT) APIs for for the `Windows.UI.Xaml.Hosting` namespace.
28
+
29
+ This package provides the `winrt.windows.ui.xaml.hosting` module.
@@ -0,0 +1,7 @@
1
+ winrt/_winrt_windows_ui_xaml_hosting.cp39-win_amd64.pyd,sha256=R_oaNLuZzkWE00dLsKpsXl_U6jDxcth2uMZoyKHq5Nk,190976
2
+ winrt/_winrt_windows_ui_xaml_hosting.pyi,sha256=758I4ehFGdKpGeaRr99u2XtYm2RtaadHyzbMWWM7WfM,11153
3
+ winrt/windows/ui/xaml/hosting/__init__.py,sha256=savKEZdfRbhfPG_H2aRXV_wyGU1FRwPR0V02EtRH6-s,2164
4
+ winrt_Windows.UI.Xaml.Hosting-2.0.0b1.dist-info/METADATA,sha256=wh8bVucWL9aYFrgzlp4d5b70ZYr8Smu-eSUlkZM1Glg,1423
5
+ winrt_Windows.UI.Xaml.Hosting-2.0.0b1.dist-info/WHEEL,sha256=6LUvBh8thwnyqgVgCADtj3fTB0_JYWDpaYISzieo71U,100
6
+ winrt_Windows.UI.Xaml.Hosting-2.0.0b1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
7
+ winrt_Windows.UI.Xaml.Hosting-2.0.0b1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.41.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp39-cp39-win_amd64
5
+