winrt-Windows.UI.Xaml.Hosting 3.2.1__cp314-cp314-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.
- winrt/_winrt_windows_ui_xaml_hosting.cp314-win_amd64.pyd +0 -0
- winrt/_winrt_windows_ui_xaml_hosting.pyi +249 -0
- winrt/windows/ui/xaml/hosting/__init__.py +63 -0
- winrt/windows/ui/xaml/hosting/py.typed +0 -0
- winrt_windows_ui_xaml_hosting-3.2.1.dist-info/METADATA +30 -0
- winrt_windows_ui_xaml_hosting-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_ui_xaml_hosting-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_ui_xaml_hosting-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,249 @@
|
|
|
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.foundation as windows_foundation
|
|
14
|
+
import winrt.windows.ui.composition as windows_ui_composition
|
|
15
|
+
import winrt.windows.ui.windowmanagement as windows_ui_windowmanagement
|
|
16
|
+
import winrt.windows.ui.xaml as windows_ui_xaml
|
|
17
|
+
import winrt.windows.ui.xaml.controls as windows_ui_xaml_controls
|
|
18
|
+
import winrt.windows.ui.xaml.controls.primitives as windows_ui_xaml_controls_primitives
|
|
19
|
+
|
|
20
|
+
from winrt.windows.ui.xaml.hosting import DesignerAppViewState, XamlSourceFocusNavigationReason
|
|
21
|
+
|
|
22
|
+
Self = typing.TypeVar('Self')
|
|
23
|
+
|
|
24
|
+
@typing.final
|
|
25
|
+
class DesignerAppExitedEventArgs(winrt.system.Object):
|
|
26
|
+
# System.UInt32 Windows.UI.Xaml.Hosting.DesignerAppExitedEventArgs::get_ExitCode()
|
|
27
|
+
@_property
|
|
28
|
+
def exit_code(self) -> winrt.system.UInt32: ...
|
|
29
|
+
|
|
30
|
+
@typing.final
|
|
31
|
+
class DesignerAppManager(winrt.system.Object, windows_foundation.IClosable):
|
|
32
|
+
def __enter__(self: Self) -> Self: ...
|
|
33
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
34
|
+
def __new__(cls: typing.Type[Self], app_user_model_id: str) -> Self: ...
|
|
35
|
+
# System.Void Windows.UI.Xaml.Hosting.DesignerAppManager::Close()
|
|
36
|
+
def close(self) -> None: ...
|
|
37
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.UI.Xaml.Hosting.DesignerAppView> Windows.UI.Xaml.Hosting.DesignerAppManager::CreateNewViewAsync(Windows.UI.Xaml.Hosting.DesignerAppViewState,Windows.Foundation.Size)
|
|
38
|
+
def create_new_view_async(self, initial_view_state: DesignerAppViewState, initial_view_size: typing.Union[windows_foundation.Size, typing.Tuple[winrt.system.Single, winrt.system.Single]], /) -> windows_foundation.IAsyncOperation[DesignerAppView]: ...
|
|
39
|
+
# Windows.Foundation.IAsyncAction Windows.UI.Xaml.Hosting.DesignerAppManager::LoadObjectIntoAppAsync(System.String,System.Guid,System.String)
|
|
40
|
+
def load_object_into_app_async(self, dll_name: str, class_id: _uuid.UUID, initialization_data: str, /) -> windows_foundation.IAsyncAction: ...
|
|
41
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Xaml.Hosting.DesignerAppManager::add_DesignerAppExited(Windows.Foundation.TypedEventHandler`2<Windows.UI.Xaml.Hosting.DesignerAppManager,Windows.UI.Xaml.Hosting.DesignerAppExitedEventArgs>)
|
|
42
|
+
def add_designer_app_exited(self, handler: windows_foundation.TypedEventHandler[DesignerAppManager, DesignerAppExitedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
43
|
+
# System.Void Windows.UI.Xaml.Hosting.DesignerAppManager::remove_DesignerAppExited(Windows.Foundation.EventRegistrationToken)
|
|
44
|
+
def remove_designer_app_exited(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
45
|
+
# System.String Windows.UI.Xaml.Hosting.DesignerAppManager::get_AppUserModelId()
|
|
46
|
+
@_property
|
|
47
|
+
def app_user_model_id(self) -> str: ...
|
|
48
|
+
|
|
49
|
+
@typing.final
|
|
50
|
+
class DesignerAppView(winrt.system.Object, windows_foundation.IClosable):
|
|
51
|
+
def __enter__(self: Self) -> Self: ...
|
|
52
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
53
|
+
# System.Void Windows.UI.Xaml.Hosting.DesignerAppView::Close()
|
|
54
|
+
def close(self) -> None: ...
|
|
55
|
+
# Windows.Foundation.IAsyncAction Windows.UI.Xaml.Hosting.DesignerAppView::UpdateViewAsync(Windows.UI.Xaml.Hosting.DesignerAppViewState,Windows.Foundation.Size)
|
|
56
|
+
def update_view_async(self, view_state: DesignerAppViewState, view_size: typing.Union[windows_foundation.Size, typing.Tuple[winrt.system.Single, winrt.system.Single]], /) -> windows_foundation.IAsyncAction: ...
|
|
57
|
+
# System.String Windows.UI.Xaml.Hosting.DesignerAppView::get_AppUserModelId()
|
|
58
|
+
@_property
|
|
59
|
+
def app_user_model_id(self) -> str: ...
|
|
60
|
+
# System.Int32 Windows.UI.Xaml.Hosting.DesignerAppView::get_ApplicationViewId()
|
|
61
|
+
@_property
|
|
62
|
+
def application_view_id(self) -> winrt.system.Int32: ...
|
|
63
|
+
# Windows.Foundation.Size Windows.UI.Xaml.Hosting.DesignerAppView::get_ViewSize()
|
|
64
|
+
@_property
|
|
65
|
+
def view_size(self) -> windows_foundation.Size: ...
|
|
66
|
+
# Windows.UI.Xaml.Hosting.DesignerAppViewState Windows.UI.Xaml.Hosting.DesignerAppView::get_ViewState()
|
|
67
|
+
@_property
|
|
68
|
+
def view_state(self) -> DesignerAppViewState: ...
|
|
69
|
+
|
|
70
|
+
class DesktopWindowXamlSource_Static(winrt._winrt.IInspectable_Static):
|
|
71
|
+
pass
|
|
72
|
+
|
|
73
|
+
class DesktopWindowXamlSource(winrt.system.Object, windows_foundation.IClosable, metaclass=DesktopWindowXamlSource_Static):
|
|
74
|
+
def __enter__(self: Self) -> Self: ...
|
|
75
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
76
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
77
|
+
# System.Void Windows.UI.Xaml.Hosting.DesktopWindowXamlSource::Close()
|
|
78
|
+
def close(self) -> None: ...
|
|
79
|
+
@typing.final
|
|
80
|
+
# Windows.UI.Xaml.Hosting.XamlSourceFocusNavigationResult Windows.UI.Xaml.Hosting.DesktopWindowXamlSource::NavigateFocus(Windows.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest)
|
|
81
|
+
def navigate_focus(self, request: XamlSourceFocusNavigationRequest, /) -> XamlSourceFocusNavigationResult: ...
|
|
82
|
+
@typing.final
|
|
83
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Xaml.Hosting.DesktopWindowXamlSource::add_GotFocus(Windows.Foundation.TypedEventHandler`2<Windows.UI.Xaml.Hosting.DesktopWindowXamlSource,Windows.UI.Xaml.Hosting.DesktopWindowXamlSourceGotFocusEventArgs>)
|
|
84
|
+
def add_got_focus(self, handler: windows_foundation.TypedEventHandler[DesktopWindowXamlSource, DesktopWindowXamlSourceGotFocusEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
85
|
+
@typing.final
|
|
86
|
+
# System.Void Windows.UI.Xaml.Hosting.DesktopWindowXamlSource::remove_GotFocus(Windows.Foundation.EventRegistrationToken)
|
|
87
|
+
def remove_got_focus(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
88
|
+
@typing.final
|
|
89
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Xaml.Hosting.DesktopWindowXamlSource::add_TakeFocusRequested(Windows.Foundation.TypedEventHandler`2<Windows.UI.Xaml.Hosting.DesktopWindowXamlSource,Windows.UI.Xaml.Hosting.DesktopWindowXamlSourceTakeFocusRequestedEventArgs>)
|
|
90
|
+
def add_take_focus_requested(self, handler: windows_foundation.TypedEventHandler[DesktopWindowXamlSource, DesktopWindowXamlSourceTakeFocusRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
91
|
+
@typing.final
|
|
92
|
+
# System.Void Windows.UI.Xaml.Hosting.DesktopWindowXamlSource::remove_TakeFocusRequested(Windows.Foundation.EventRegistrationToken)
|
|
93
|
+
def remove_take_focus_requested(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
94
|
+
# Windows.UI.Xaml.UIElement Windows.UI.Xaml.Hosting.DesktopWindowXamlSource::get_Content()
|
|
95
|
+
@_property
|
|
96
|
+
def content(self) -> windows_ui_xaml.UIElement: ...
|
|
97
|
+
# System.Void Windows.UI.Xaml.Hosting.DesktopWindowXamlSource::put_Content(Windows.UI.Xaml.UIElement)
|
|
98
|
+
@content.setter
|
|
99
|
+
@typing.final
|
|
100
|
+
def content(self, value: windows_ui_xaml.UIElement) -> None: ...
|
|
101
|
+
# System.Boolean Windows.UI.Xaml.Hosting.DesktopWindowXamlSource::get_HasFocus()
|
|
102
|
+
@_property
|
|
103
|
+
@typing.final
|
|
104
|
+
def has_focus(self) -> bool: ...
|
|
105
|
+
|
|
106
|
+
@typing.final
|
|
107
|
+
class DesktopWindowXamlSourceGotFocusEventArgs(winrt.system.Object):
|
|
108
|
+
# Windows.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest Windows.UI.Xaml.Hosting.DesktopWindowXamlSourceGotFocusEventArgs::get_Request()
|
|
109
|
+
@_property
|
|
110
|
+
def request(self) -> XamlSourceFocusNavigationRequest: ...
|
|
111
|
+
|
|
112
|
+
@typing.final
|
|
113
|
+
class DesktopWindowXamlSourceTakeFocusRequestedEventArgs(winrt.system.Object):
|
|
114
|
+
# Windows.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest Windows.UI.Xaml.Hosting.DesktopWindowXamlSourceTakeFocusRequestedEventArgs::get_Request()
|
|
115
|
+
@_property
|
|
116
|
+
def request(self) -> XamlSourceFocusNavigationRequest: ...
|
|
117
|
+
|
|
118
|
+
@typing.final
|
|
119
|
+
class ElementCompositionPreview_Static(winrt._winrt.IInspectable_Static):
|
|
120
|
+
# Windows.UI.Xaml.UIElement Windows.UI.Xaml.Hosting.ElementCompositionPreview::GetAppWindowContent(Windows.UI.WindowManagement.AppWindow)
|
|
121
|
+
def get_app_window_content(cls, app_window: windows_ui_windowmanagement.AppWindow, /) -> windows_ui_xaml.UIElement: ...
|
|
122
|
+
# Windows.UI.Composition.Visual Windows.UI.Xaml.Hosting.ElementCompositionPreview::GetElementChildVisual(Windows.UI.Xaml.UIElement)
|
|
123
|
+
def get_element_child_visual(cls, element: windows_ui_xaml.UIElement, /) -> windows_ui_composition.Visual: ...
|
|
124
|
+
# Windows.UI.Composition.Visual Windows.UI.Xaml.Hosting.ElementCompositionPreview::GetElementVisual(Windows.UI.Xaml.UIElement)
|
|
125
|
+
def get_element_visual(cls, element: windows_ui_xaml.UIElement, /) -> windows_ui_composition.Visual: ...
|
|
126
|
+
# Windows.UI.Composition.CompositionPropertySet Windows.UI.Xaml.Hosting.ElementCompositionPreview::GetPointerPositionPropertySet(Windows.UI.Xaml.UIElement)
|
|
127
|
+
def get_pointer_position_property_set(cls, target_element: windows_ui_xaml.UIElement, /) -> windows_ui_composition.CompositionPropertySet: ...
|
|
128
|
+
# Windows.UI.Composition.CompositionPropertySet Windows.UI.Xaml.Hosting.ElementCompositionPreview::GetScrollViewerManipulationPropertySet(Windows.UI.Xaml.Controls.ScrollViewer)
|
|
129
|
+
def get_scroll_viewer_manipulation_property_set(cls, scroll_viewer: windows_ui_xaml_controls.ScrollViewer, /) -> windows_ui_composition.CompositionPropertySet: ...
|
|
130
|
+
# System.Void Windows.UI.Xaml.Hosting.ElementCompositionPreview::SetAppWindowContent(Windows.UI.WindowManagement.AppWindow,Windows.UI.Xaml.UIElement)
|
|
131
|
+
def set_app_window_content(cls, app_window: windows_ui_windowmanagement.AppWindow, xaml_content: windows_ui_xaml.UIElement, /) -> None: ...
|
|
132
|
+
# System.Void Windows.UI.Xaml.Hosting.ElementCompositionPreview::SetElementChildVisual(Windows.UI.Xaml.UIElement,Windows.UI.Composition.Visual)
|
|
133
|
+
def set_element_child_visual(cls, element: windows_ui_xaml.UIElement, visual: windows_ui_composition.Visual, /) -> None: ...
|
|
134
|
+
# System.Void Windows.UI.Xaml.Hosting.ElementCompositionPreview::SetImplicitHideAnimation(Windows.UI.Xaml.UIElement,Windows.UI.Composition.ICompositionAnimationBase)
|
|
135
|
+
def set_implicit_hide_animation(cls, element: windows_ui_xaml.UIElement, animation: windows_ui_composition.ICompositionAnimationBase, /) -> None: ...
|
|
136
|
+
# System.Void Windows.UI.Xaml.Hosting.ElementCompositionPreview::SetImplicitShowAnimation(Windows.UI.Xaml.UIElement,Windows.UI.Composition.ICompositionAnimationBase)
|
|
137
|
+
def set_implicit_show_animation(cls, element: windows_ui_xaml.UIElement, animation: windows_ui_composition.ICompositionAnimationBase, /) -> None: ...
|
|
138
|
+
# System.Void Windows.UI.Xaml.Hosting.ElementCompositionPreview::SetIsTranslationEnabled(Windows.UI.Xaml.UIElement,System.Boolean)
|
|
139
|
+
def set_is_translation_enabled(cls, element: windows_ui_xaml.UIElement, value: bool, /) -> None: ...
|
|
140
|
+
|
|
141
|
+
@typing.final
|
|
142
|
+
class ElementCompositionPreview(winrt.system.Object, metaclass=ElementCompositionPreview_Static):
|
|
143
|
+
pass
|
|
144
|
+
|
|
145
|
+
@typing.final
|
|
146
|
+
class WindowsXamlManager_Static(winrt._winrt.IInspectable_Static):
|
|
147
|
+
# Windows.UI.Xaml.Hosting.WindowsXamlManager Windows.UI.Xaml.Hosting.WindowsXamlManager::InitializeForCurrentThread()
|
|
148
|
+
def initialize_for_current_thread(cls) -> WindowsXamlManager: ...
|
|
149
|
+
|
|
150
|
+
@typing.final
|
|
151
|
+
class WindowsXamlManager(winrt.system.Object, windows_foundation.IClosable, metaclass=WindowsXamlManager_Static):
|
|
152
|
+
def __enter__(self: Self) -> Self: ...
|
|
153
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
154
|
+
# System.Void Windows.UI.Xaml.Hosting.WindowsXamlManager::Close()
|
|
155
|
+
def close(self) -> None: ...
|
|
156
|
+
|
|
157
|
+
@typing.final
|
|
158
|
+
class XamlSourceFocusNavigationRequest(winrt.system.Object):
|
|
159
|
+
@typing.overload
|
|
160
|
+
def __new__(cls: typing.Type[Self], reason: XamlSourceFocusNavigationReason) -> Self: ...
|
|
161
|
+
@typing.overload
|
|
162
|
+
def __new__(cls: typing.Type[Self], reason: XamlSourceFocusNavigationReason, hint_rect: typing.Union[windows_foundation.Rect, typing.Tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]]) -> Self: ...
|
|
163
|
+
@typing.overload
|
|
164
|
+
def __new__(cls: typing.Type[Self], reason: XamlSourceFocusNavigationReason, hint_rect: typing.Union[windows_foundation.Rect, typing.Tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]], correlation_id: _uuid.UUID) -> Self: ...
|
|
165
|
+
# System.Guid Windows.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest::get_CorrelationId()
|
|
166
|
+
@_property
|
|
167
|
+
def correlation_id(self) -> _uuid.UUID: ...
|
|
168
|
+
# Windows.Foundation.Rect Windows.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest::get_HintRect()
|
|
169
|
+
@_property
|
|
170
|
+
def hint_rect(self) -> windows_foundation.Rect: ...
|
|
171
|
+
# Windows.UI.Xaml.Hosting.XamlSourceFocusNavigationReason Windows.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest::get_Reason()
|
|
172
|
+
@_property
|
|
173
|
+
def reason(self) -> XamlSourceFocusNavigationReason: ...
|
|
174
|
+
|
|
175
|
+
@typing.final
|
|
176
|
+
class XamlSourceFocusNavigationResult(winrt.system.Object):
|
|
177
|
+
def __new__(cls: typing.Type[Self], focus_moved: bool) -> Self: ...
|
|
178
|
+
# System.Boolean Windows.UI.Xaml.Hosting.XamlSourceFocusNavigationResult::get_WasFocusMoved()
|
|
179
|
+
@_property
|
|
180
|
+
def was_focus_moved(self) -> bool: ...
|
|
181
|
+
|
|
182
|
+
@typing.final
|
|
183
|
+
class XamlUIPresenter_Static(winrt._winrt.IInspectable_Static):
|
|
184
|
+
# Windows.Foundation.Rect Windows.UI.Xaml.Hosting.XamlUIPresenter::GetFlyoutPlacement(Windows.Foundation.Rect,Windows.Foundation.Size,Windows.Foundation.Size,Windows.Foundation.Rect,Windows.UI.Xaml.Controls.Primitives.FlyoutPlacementMode,System.Boolean,Windows.UI.Xaml.Controls.Primitives.FlyoutPlacementMode&)
|
|
185
|
+
def get_flyout_placement(cls, placement_target_bounds: typing.Union[windows_foundation.Rect, typing.Tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]], control_size: typing.Union[windows_foundation.Size, typing.Tuple[winrt.system.Single, winrt.system.Single]], min_control_size: typing.Union[windows_foundation.Size, typing.Tuple[winrt.system.Single, winrt.system.Single]], container_rect: typing.Union[windows_foundation.Rect, typing.Tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]], target_preferred_placement: windows_ui_xaml_controls_primitives.FlyoutPlacementMode, allow_fallbacks: bool, /) -> typing.Tuple[windows_foundation.Rect, windows_ui_xaml_controls_primitives.FlyoutPlacementMode]: ...
|
|
186
|
+
# Windows.Foundation.Rect Windows.UI.Xaml.Hosting.XamlUIPresenter::GetFlyoutPlacementTargetInfo(Windows.UI.Xaml.FrameworkElement,Windows.UI.Xaml.Controls.Primitives.FlyoutPlacementMode,Windows.UI.Xaml.Controls.Primitives.FlyoutPlacementMode&,System.Boolean&)
|
|
187
|
+
def get_flyout_placement_target_info(cls, placement_target: windows_ui_xaml.FrameworkElement, preferred_placement: windows_ui_xaml_controls_primitives.FlyoutPlacementMode, /) -> typing.Tuple[windows_foundation.Rect, windows_ui_xaml_controls_primitives.FlyoutPlacementMode, bool]: ...
|
|
188
|
+
# System.Void Windows.UI.Xaml.Hosting.XamlUIPresenter::NotifyWindowSizeChanged()
|
|
189
|
+
def notify_window_size_changed(cls) -> None: ...
|
|
190
|
+
# System.Void Windows.UI.Xaml.Hosting.XamlUIPresenter::SetHost(Windows.UI.Xaml.Hosting.IXamlUIPresenterHost)
|
|
191
|
+
def set_host(cls, host: IXamlUIPresenterHost, /) -> None: ...
|
|
192
|
+
# System.Boolean Windows.UI.Xaml.Hosting.XamlUIPresenter::get_CompleteTimelinesAutomatically()
|
|
193
|
+
@_property
|
|
194
|
+
def complete_timelines_automatically(cls) -> bool: ...
|
|
195
|
+
# System.Void Windows.UI.Xaml.Hosting.XamlUIPresenter::put_CompleteTimelinesAutomatically(System.Boolean)
|
|
196
|
+
@complete_timelines_automatically.setter
|
|
197
|
+
def complete_timelines_automatically(cls, value: bool) -> None: ...
|
|
198
|
+
|
|
199
|
+
@typing.final
|
|
200
|
+
class XamlUIPresenter(winrt.system.Object, metaclass=XamlUIPresenter_Static):
|
|
201
|
+
# System.Void Windows.UI.Xaml.Hosting.XamlUIPresenter::Present()
|
|
202
|
+
def present(self) -> None: ...
|
|
203
|
+
# System.Void Windows.UI.Xaml.Hosting.XamlUIPresenter::Render()
|
|
204
|
+
def render(self) -> None: ...
|
|
205
|
+
# System.Void Windows.UI.Xaml.Hosting.XamlUIPresenter::SetSize(System.Int32,System.Int32)
|
|
206
|
+
def set_size(self, width: winrt.system.Int32, height: winrt.system.Int32, /) -> None: ...
|
|
207
|
+
# System.String Windows.UI.Xaml.Hosting.XamlUIPresenter::get_ThemeResourcesXaml()
|
|
208
|
+
@_property
|
|
209
|
+
def theme_resources_xaml(self) -> str: ...
|
|
210
|
+
# System.Void Windows.UI.Xaml.Hosting.XamlUIPresenter::put_ThemeResourcesXaml(System.String)
|
|
211
|
+
@theme_resources_xaml.setter
|
|
212
|
+
def theme_resources_xaml(self, value: str) -> None: ...
|
|
213
|
+
# System.String Windows.UI.Xaml.Hosting.XamlUIPresenter::get_ThemeKey()
|
|
214
|
+
@_property
|
|
215
|
+
def theme_key(self) -> str: ...
|
|
216
|
+
# System.Void Windows.UI.Xaml.Hosting.XamlUIPresenter::put_ThemeKey(System.String)
|
|
217
|
+
@theme_key.setter
|
|
218
|
+
def theme_key(self, value: str) -> None: ...
|
|
219
|
+
# Windows.UI.Xaml.UIElement Windows.UI.Xaml.Hosting.XamlUIPresenter::get_RootElement()
|
|
220
|
+
@_property
|
|
221
|
+
def root_element(self) -> windows_ui_xaml.UIElement: ...
|
|
222
|
+
# System.Void Windows.UI.Xaml.Hosting.XamlUIPresenter::put_RootElement(Windows.UI.Xaml.UIElement)
|
|
223
|
+
@root_element.setter
|
|
224
|
+
def root_element(self, value: windows_ui_xaml.UIElement) -> None: ...
|
|
225
|
+
|
|
226
|
+
@typing.final
|
|
227
|
+
class _IXamlUIPresenterHost: ...
|
|
228
|
+
|
|
229
|
+
class IXamlUIPresenterHost(winrt._winrt.IInspectable):
|
|
230
|
+
# System.String Windows.UI.Xaml.Hosting.IXamlUIPresenterHost::ResolveFileResource(System.String)
|
|
231
|
+
@abstractmethod
|
|
232
|
+
def resolve_file_resource(self, path: str, /) -> str: ...
|
|
233
|
+
|
|
234
|
+
@typing.final
|
|
235
|
+
class _IXamlUIPresenterHost2: ...
|
|
236
|
+
|
|
237
|
+
class IXamlUIPresenterHost2(winrt._winrt.IInspectable):
|
|
238
|
+
# System.String Windows.UI.Xaml.Hosting.IXamlUIPresenterHost2::GetGenericXamlFilePath()
|
|
239
|
+
@abstractmethod
|
|
240
|
+
def get_generic_xaml_file_path(self) -> str: ...
|
|
241
|
+
|
|
242
|
+
@typing.final
|
|
243
|
+
class _IXamlUIPresenterHost3: ...
|
|
244
|
+
|
|
245
|
+
class IXamlUIPresenterHost3(winrt._winrt.IInspectable):
|
|
246
|
+
# System.Object Windows.UI.Xaml.Hosting.IXamlUIPresenterHost3::ResolveDictionaryResource(Windows.UI.Xaml.ResourceDictionary,System.Object,System.Object)
|
|
247
|
+
@abstractmethod
|
|
248
|
+
def resolve_dictionary_resource(self, dictionary: windows_ui_xaml.ResourceDictionary, dictionary_key: winrt.system.Object, suggested_value: winrt.system.Object, /) -> winrt.system.Object: ...
|
|
249
|
+
|
|
@@ -0,0 +1,63 @@
|
|
|
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_ui_xaml_hosting import (
|
|
7
|
+
DesignerAppExitedEventArgs,
|
|
8
|
+
DesignerAppManager,
|
|
9
|
+
DesignerAppView,
|
|
10
|
+
DesktopWindowXamlSource,
|
|
11
|
+
DesktopWindowXamlSourceGotFocusEventArgs,
|
|
12
|
+
DesktopWindowXamlSourceTakeFocusRequestedEventArgs,
|
|
13
|
+
ElementCompositionPreview,
|
|
14
|
+
WindowsXamlManager,
|
|
15
|
+
XamlSourceFocusNavigationRequest,
|
|
16
|
+
XamlSourceFocusNavigationResult,
|
|
17
|
+
XamlUIPresenter,
|
|
18
|
+
_IXamlUIPresenterHost,
|
|
19
|
+
IXamlUIPresenterHost,
|
|
20
|
+
_IXamlUIPresenterHost2,
|
|
21
|
+
IXamlUIPresenterHost2,
|
|
22
|
+
_IXamlUIPresenterHost3,
|
|
23
|
+
IXamlUIPresenterHost3,
|
|
24
|
+
)
|
|
25
|
+
from typing import TYPE_CHECKING
|
|
26
|
+
if TYPE_CHECKING:
|
|
27
|
+
from winrt._winrt_windows_ui_xaml_hosting import (
|
|
28
|
+
DesktopWindowXamlSource_Static,
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
__all__ = [
|
|
32
|
+
"DesignerAppViewState",
|
|
33
|
+
"XamlSourceFocusNavigationReason",
|
|
34
|
+
"DesignerAppExitedEventArgs",
|
|
35
|
+
"DesignerAppManager",
|
|
36
|
+
"DesignerAppView",
|
|
37
|
+
"DesktopWindowXamlSource",
|
|
38
|
+
"DesktopWindowXamlSourceGotFocusEventArgs",
|
|
39
|
+
"DesktopWindowXamlSourceTakeFocusRequestedEventArgs",
|
|
40
|
+
"ElementCompositionPreview",
|
|
41
|
+
"WindowsXamlManager",
|
|
42
|
+
"XamlSourceFocusNavigationRequest",
|
|
43
|
+
"XamlSourceFocusNavigationResult",
|
|
44
|
+
"XamlUIPresenter",
|
|
45
|
+
"IXamlUIPresenterHost",
|
|
46
|
+
"IXamlUIPresenterHost2",
|
|
47
|
+
"IXamlUIPresenterHost3",
|
|
48
|
+
]
|
|
49
|
+
|
|
50
|
+
class DesignerAppViewState(enum.IntEnum):
|
|
51
|
+
VISIBLE = 0
|
|
52
|
+
HIDDEN = 1
|
|
53
|
+
|
|
54
|
+
class XamlSourceFocusNavigationReason(enum.IntEnum):
|
|
55
|
+
PROGRAMMATIC = 0
|
|
56
|
+
RESTORE = 1
|
|
57
|
+
FIRST = 3
|
|
58
|
+
LAST = 4
|
|
59
|
+
LEFT = 7
|
|
60
|
+
UP = 8
|
|
61
|
+
RIGHT = 9
|
|
62
|
+
DOWN = 10
|
|
63
|
+
|
|
File without changes
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.UI.Xaml.Hosting
|
|
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.Foundation[all]~=3.2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.UI.Composition[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.UI.WindowManagement[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.UI.Xaml[all]~=3.2.1.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.UI.Xaml.Controls[all]~=3.2.1.0; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.UI.Xaml.Controls.Primitives[all]~=3.2.1.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.cp314-win_amd64.pyd,sha256=GTw2gAWtQAdPDrjERNPX0fAkrx3sXbOpnOwdhK5XbUI,202752
|
|
2
|
+
winrt/_winrt_windows_ui_xaml_hosting.pyi,sha256=sYNBjB7J4ure_CukuSkUNhEexXfe_QsufuAU-DYU5NA,18610
|
|
3
|
+
winrt/windows/ui/xaml/hosting/__init__.py,sha256=1XCAOD_1MqPnZsjaBxjE11-ZJf4ZfDio03iyZXlMyDI,1635
|
|
4
|
+
winrt/windows/ui/xaml/hosting/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_ui_xaml_hosting-3.2.1.dist-info/METADATA,sha256=aIE6XR1uOezGs5xXvv8rolqKl0ygHc1NPUx9lwJQf5o,1437
|
|
6
|
+
winrt_windows_ui_xaml_hosting-3.2.1.dist-info/WHEEL,sha256=7k6Wcy588iJYe5lf5K095NLg-uoBTnE-T8eHJ92G4_4,101
|
|
7
|
+
winrt_windows_ui_xaml_hosting-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_ui_xaml_hosting-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|