win32more-Microsoft.WindowsAppSDK 0.6.1.5.240227000__py2.py3-none-any.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.
Potentially problematic release.
This version of win32more-Microsoft.WindowsAppSDK might be problematic. Click here for more details.
- win32more/Microsoft/Foundation/__init__.py +7 -0
- win32more/Microsoft/Graphics/DirectX/__init__.py +167 -0
- win32more/Microsoft/Graphics/Display/__init__.py +174 -0
- win32more/Microsoft/UI/Composition/Core/__init__.py +52 -0
- win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +63 -0
- win32more/Microsoft/UI/Composition/Effects/__init__.py +96 -0
- win32more/Microsoft/UI/Composition/Interactions/__init__.py +951 -0
- win32more/Microsoft/UI/Composition/Scenes/__init__.py +671 -0
- win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +356 -0
- win32more/Microsoft/UI/Composition/__init__.py +4793 -0
- win32more/Microsoft/UI/Content/__init__.py +918 -0
- win32more/Microsoft/UI/Dispatching/__init__.py +241 -0
- win32more/Microsoft/UI/Input/DragDrop/__init__.py +235 -0
- win32more/Microsoft/UI/Input/Interop/__init__.py +19 -0
- win32more/Microsoft/UI/Input/__init__.py +1927 -0
- win32more/Microsoft/UI/System/__init__.py +46 -0
- win32more/Microsoft/UI/Text/__init__.py +1090 -0
- win32more/Microsoft/UI/Windowing/__init__.py +877 -0
- win32more/Microsoft/UI/Xaml/Automation/Peers/__init__.py +3414 -0
- win32more/Microsoft/UI/Xaml/Automation/Provider/__init__.py +489 -0
- win32more/Microsoft/UI/Xaml/Automation/Text/__init__.py +17 -0
- win32more/Microsoft/UI/Xaml/Automation/__init__.py +1607 -0
- win32more/Microsoft/UI/Xaml/Controls/AnimatedVisuals/__init__.py +170 -0
- win32more/Microsoft/UI/Xaml/Controls/Primitives/__init__.py +6458 -0
- win32more/Microsoft/UI/Xaml/Controls/__init__.py +31159 -0
- win32more/Microsoft/UI/Xaml/Core/Direct/__init__.py +7 -0
- win32more/Microsoft/UI/Xaml/Data/__init__.py +670 -0
- win32more/Microsoft/UI/Xaml/Documents/__init__.py +2030 -0
- win32more/Microsoft/UI/Xaml/Hosting/__init__.py +329 -0
- win32more/Microsoft/UI/Xaml/Input/__init__.py +1985 -0
- win32more/Microsoft/UI/Xaml/Interop/__init__.py +148 -0
- win32more/Microsoft/UI/Xaml/Markup/__init__.py +391 -0
- win32more/Microsoft/UI/Xaml/Media/Animation/__init__.py +4167 -0
- win32more/Microsoft/UI/Xaml/Media/Imaging/__init__.py +632 -0
- win32more/Microsoft/UI/Xaml/Media/Media3D/__init__.py +373 -0
- win32more/Microsoft/UI/Xaml/Media/__init__.py +3510 -0
- win32more/Microsoft/UI/Xaml/Navigation/__init__.py +255 -0
- win32more/Microsoft/UI/Xaml/Printing/__init__.py +193 -0
- win32more/Microsoft/UI/Xaml/Resources/__init__.py +53 -0
- win32more/Microsoft/UI/Xaml/Shapes/__init__.py +538 -0
- win32more/Microsoft/UI/Xaml/XamlTypeInfo/__init__.py +39 -0
- win32more/Microsoft/UI/Xaml/__init__.py +6010 -0
- win32more/Microsoft/UI/__init__.py +912 -0
- win32more/Microsoft/Web/WebView2/Core/__init__.py +4685 -0
- win32more/Microsoft/Windows/AppLifecycle/__init__.py +180 -0
- win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +572 -0
- win32more/Microsoft/Windows/AppNotifications/__init__.py +333 -0
- win32more/Microsoft/Windows/ApplicationModel/DynamicDependency/__init__.py +244 -0
- win32more/Microsoft/Windows/ApplicationModel/Resources/__init__.py +322 -0
- win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +114 -0
- win32more/Microsoft/Windows/Management/Deployment/__init__.py +1114 -0
- win32more/Microsoft/Windows/PushNotifications/__init__.py +146 -0
- win32more/Microsoft/Windows/Security/AccessControl/__init__.py +25 -0
- win32more/Microsoft/Windows/System/Power/__init__.py +223 -0
- win32more/Microsoft/Windows/System/__init__.py +78 -0
- win32more/Microsoft/Windows/Widgets/Feeds/Providers/__init__.py +181 -0
- win32more/Microsoft/Windows/Widgets/Providers/__init__.py +325 -0
- win32more/Microsoft/Windows/Widgets/__init__.py +11 -0
- win32more/appsdk/versioninfo.py +3 -0
- win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/METADATA +5 -0
- win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/RECORD +66 -0
- win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/WHEEL +5 -0
- win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +90 -0
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more.winrt.prelude import *
|
|
3
|
+
import win32more.Microsoft.UI
|
|
4
|
+
import win32more.Microsoft.UI.Composition
|
|
5
|
+
import win32more.Microsoft.UI.Content
|
|
6
|
+
import win32more.Microsoft.UI.Xaml
|
|
7
|
+
import win32more.Microsoft.UI.Xaml.Controls
|
|
8
|
+
import win32more.Microsoft.UI.Xaml.Hosting
|
|
9
|
+
import win32more.Microsoft.UI.Xaml.Media
|
|
10
|
+
import win32more.Windows.Foundation
|
|
11
|
+
class DesktopWindowXamlSource(ComPtr):
|
|
12
|
+
extends: IInspectable
|
|
13
|
+
implements: Tuple[ContextManagerProtocol]
|
|
14
|
+
default_interface: win32more.Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSource
|
|
15
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.DesktopWindowXamlSource'
|
|
16
|
+
def __init__(self, *args, **kwargs):
|
|
17
|
+
if kwargs:
|
|
18
|
+
super().__init__(**kwargs)
|
|
19
|
+
elif len(args) == 0:
|
|
20
|
+
super().__init__(move=win32more.Microsoft.UI.Xaml.Hosting.DesktopWindowXamlSource.CreateInstance(*args, None, None))
|
|
21
|
+
else:
|
|
22
|
+
raise ValueError('no matched constructor')
|
|
23
|
+
@winrt_factorymethod
|
|
24
|
+
def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSourceFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Hosting.DesktopWindowXamlSource: ...
|
|
25
|
+
@winrt_mixinmethod
|
|
26
|
+
def get_Content(self: win32more.Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSource) -> win32more.Microsoft.UI.Xaml.UIElement: ...
|
|
27
|
+
@winrt_mixinmethod
|
|
28
|
+
def put_Content(self: win32more.Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSource, value: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
|
|
29
|
+
@winrt_mixinmethod
|
|
30
|
+
def get_HasFocus(self: win32more.Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSource) -> Boolean: ...
|
|
31
|
+
@winrt_mixinmethod
|
|
32
|
+
def get_SystemBackdrop(self: win32more.Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSource) -> win32more.Microsoft.UI.Xaml.Media.SystemBackdrop: ...
|
|
33
|
+
@winrt_mixinmethod
|
|
34
|
+
def put_SystemBackdrop(self: win32more.Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSource, value: win32more.Microsoft.UI.Xaml.Media.SystemBackdrop) -> Void: ...
|
|
35
|
+
@winrt_mixinmethod
|
|
36
|
+
def get_SiteBridge(self: win32more.Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSource) -> win32more.Microsoft.UI.Content.DesktopChildSiteBridge: ...
|
|
37
|
+
@winrt_mixinmethod
|
|
38
|
+
def add_TakeFocusRequested(self: win32more.Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSource, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Hosting.DesktopWindowXamlSource, win32more.Microsoft.UI.Xaml.Hosting.DesktopWindowXamlSourceTakeFocusRequestedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
39
|
+
@winrt_mixinmethod
|
|
40
|
+
def remove_TakeFocusRequested(self: win32more.Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSource, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
41
|
+
@winrt_mixinmethod
|
|
42
|
+
def add_GotFocus(self: win32more.Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSource, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Hosting.DesktopWindowXamlSource, win32more.Microsoft.UI.Xaml.Hosting.DesktopWindowXamlSourceGotFocusEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
43
|
+
@winrt_mixinmethod
|
|
44
|
+
def remove_GotFocus(self: win32more.Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSource, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
45
|
+
@winrt_mixinmethod
|
|
46
|
+
def NavigateFocus(self: win32more.Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSource, request: win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest) -> win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationResult: ...
|
|
47
|
+
@winrt_mixinmethod
|
|
48
|
+
def Initialize(self: win32more.Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSource, parentWindowId: win32more.Microsoft.UI.WindowId) -> Void: ...
|
|
49
|
+
@winrt_mixinmethod
|
|
50
|
+
def get_ShouldConstrainPopupsToWorkArea(self: win32more.Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSource2) -> Boolean: ...
|
|
51
|
+
@winrt_mixinmethod
|
|
52
|
+
def put_ShouldConstrainPopupsToWorkArea(self: win32more.Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSource2, value: Boolean) -> Void: ...
|
|
53
|
+
@winrt_mixinmethod
|
|
54
|
+
def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
|
|
55
|
+
Content = property(get_Content, put_Content)
|
|
56
|
+
HasFocus = property(get_HasFocus, None)
|
|
57
|
+
ShouldConstrainPopupsToWorkArea = property(get_ShouldConstrainPopupsToWorkArea, put_ShouldConstrainPopupsToWorkArea)
|
|
58
|
+
SiteBridge = property(get_SiteBridge, None)
|
|
59
|
+
SystemBackdrop = property(get_SystemBackdrop, put_SystemBackdrop)
|
|
60
|
+
TakeFocusRequested = event()
|
|
61
|
+
GotFocus = event()
|
|
62
|
+
class DesktopWindowXamlSourceGotFocusEventArgs(ComPtr):
|
|
63
|
+
extends: IInspectable
|
|
64
|
+
default_interface: win32more.Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSourceGotFocusEventArgs
|
|
65
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.DesktopWindowXamlSourceGotFocusEventArgs'
|
|
66
|
+
@winrt_mixinmethod
|
|
67
|
+
def get_Request(self: win32more.Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSourceGotFocusEventArgs) -> win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest: ...
|
|
68
|
+
Request = property(get_Request, None)
|
|
69
|
+
class DesktopWindowXamlSourceTakeFocusRequestedEventArgs(ComPtr):
|
|
70
|
+
extends: IInspectable
|
|
71
|
+
default_interface: win32more.Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSourceTakeFocusRequestedEventArgs
|
|
72
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.DesktopWindowXamlSourceTakeFocusRequestedEventArgs'
|
|
73
|
+
@winrt_mixinmethod
|
|
74
|
+
def get_Request(self: win32more.Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSourceTakeFocusRequestedEventArgs) -> win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest: ...
|
|
75
|
+
Request = property(get_Request, None)
|
|
76
|
+
class ElementCompositionPreview(ComPtr):
|
|
77
|
+
extends: IInspectable
|
|
78
|
+
default_interface: win32more.Microsoft.UI.Xaml.Hosting.IElementCompositionPreview
|
|
79
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.ElementCompositionPreview'
|
|
80
|
+
@winrt_classmethod
|
|
81
|
+
def GetElementVisual(cls: win32more.Microsoft.UI.Xaml.Hosting.IElementCompositionPreviewStatics, element: win32more.Microsoft.UI.Xaml.UIElement) -> win32more.Microsoft.UI.Composition.Visual: ...
|
|
82
|
+
@winrt_classmethod
|
|
83
|
+
def GetElementChildVisual(cls: win32more.Microsoft.UI.Xaml.Hosting.IElementCompositionPreviewStatics, element: win32more.Microsoft.UI.Xaml.UIElement) -> win32more.Microsoft.UI.Composition.Visual: ...
|
|
84
|
+
@winrt_classmethod
|
|
85
|
+
def SetElementChildVisual(cls: win32more.Microsoft.UI.Xaml.Hosting.IElementCompositionPreviewStatics, element: win32more.Microsoft.UI.Xaml.UIElement, visual: win32more.Microsoft.UI.Composition.Visual) -> Void: ...
|
|
86
|
+
@winrt_classmethod
|
|
87
|
+
def GetScrollViewerManipulationPropertySet(cls: win32more.Microsoft.UI.Xaml.Hosting.IElementCompositionPreviewStatics, scrollViewer: win32more.Microsoft.UI.Xaml.Controls.ScrollViewer) -> win32more.Microsoft.UI.Composition.CompositionPropertySet: ...
|
|
88
|
+
@winrt_classmethod
|
|
89
|
+
def SetImplicitShowAnimation(cls: win32more.Microsoft.UI.Xaml.Hosting.IElementCompositionPreviewStatics, element: win32more.Microsoft.UI.Xaml.UIElement, animation: win32more.Microsoft.UI.Composition.ICompositionAnimationBase) -> Void: ...
|
|
90
|
+
@winrt_classmethod
|
|
91
|
+
def SetImplicitHideAnimation(cls: win32more.Microsoft.UI.Xaml.Hosting.IElementCompositionPreviewStatics, element: win32more.Microsoft.UI.Xaml.UIElement, animation: win32more.Microsoft.UI.Composition.ICompositionAnimationBase) -> Void: ...
|
|
92
|
+
@winrt_classmethod
|
|
93
|
+
def SetIsTranslationEnabled(cls: win32more.Microsoft.UI.Xaml.Hosting.IElementCompositionPreviewStatics, element: win32more.Microsoft.UI.Xaml.UIElement, value: Boolean) -> Void: ...
|
|
94
|
+
@winrt_classmethod
|
|
95
|
+
def GetPointerPositionPropertySet(cls: win32more.Microsoft.UI.Xaml.Hosting.IElementCompositionPreviewStatics, targetElement: win32more.Microsoft.UI.Xaml.UIElement) -> win32more.Microsoft.UI.Composition.CompositionPropertySet: ...
|
|
96
|
+
class IDesktopWindowXamlSource(ComPtr):
|
|
97
|
+
extends: IInspectable
|
|
98
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSource'
|
|
99
|
+
_iid_ = Guid('{553af92c-1381-51d6-bee0-f34beb042ea8}')
|
|
100
|
+
@winrt_commethod(6)
|
|
101
|
+
def get_Content(self) -> win32more.Microsoft.UI.Xaml.UIElement: ...
|
|
102
|
+
@winrt_commethod(7)
|
|
103
|
+
def put_Content(self, value: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
|
|
104
|
+
@winrt_commethod(8)
|
|
105
|
+
def get_HasFocus(self) -> Boolean: ...
|
|
106
|
+
@winrt_commethod(9)
|
|
107
|
+
def get_SystemBackdrop(self) -> win32more.Microsoft.UI.Xaml.Media.SystemBackdrop: ...
|
|
108
|
+
@winrt_commethod(10)
|
|
109
|
+
def put_SystemBackdrop(self, value: win32more.Microsoft.UI.Xaml.Media.SystemBackdrop) -> Void: ...
|
|
110
|
+
@winrt_commethod(11)
|
|
111
|
+
def get_SiteBridge(self) -> win32more.Microsoft.UI.Content.DesktopChildSiteBridge: ...
|
|
112
|
+
@winrt_commethod(12)
|
|
113
|
+
def add_TakeFocusRequested(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Hosting.DesktopWindowXamlSource, win32more.Microsoft.UI.Xaml.Hosting.DesktopWindowXamlSourceTakeFocusRequestedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
114
|
+
@winrt_commethod(13)
|
|
115
|
+
def remove_TakeFocusRequested(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
116
|
+
@winrt_commethod(14)
|
|
117
|
+
def add_GotFocus(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Hosting.DesktopWindowXamlSource, win32more.Microsoft.UI.Xaml.Hosting.DesktopWindowXamlSourceGotFocusEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
118
|
+
@winrt_commethod(15)
|
|
119
|
+
def remove_GotFocus(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
120
|
+
@winrt_commethod(16)
|
|
121
|
+
def NavigateFocus(self, request: win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest) -> win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationResult: ...
|
|
122
|
+
@winrt_commethod(17)
|
|
123
|
+
def Initialize(self, parentWindowId: win32more.Microsoft.UI.WindowId) -> Void: ...
|
|
124
|
+
Content = property(get_Content, put_Content)
|
|
125
|
+
HasFocus = property(get_HasFocus, None)
|
|
126
|
+
SiteBridge = property(get_SiteBridge, None)
|
|
127
|
+
SystemBackdrop = property(get_SystemBackdrop, put_SystemBackdrop)
|
|
128
|
+
TakeFocusRequested = event()
|
|
129
|
+
GotFocus = event()
|
|
130
|
+
class IDesktopWindowXamlSource2(ComPtr):
|
|
131
|
+
extends: IInspectable
|
|
132
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSource2'
|
|
133
|
+
_iid_ = Guid('{fb02b9f1-8588-5bd3-8951-4664a675d872}')
|
|
134
|
+
@winrt_commethod(6)
|
|
135
|
+
def get_ShouldConstrainPopupsToWorkArea(self) -> Boolean: ...
|
|
136
|
+
@winrt_commethod(7)
|
|
137
|
+
def put_ShouldConstrainPopupsToWorkArea(self, value: Boolean) -> Void: ...
|
|
138
|
+
ShouldConstrainPopupsToWorkArea = property(get_ShouldConstrainPopupsToWorkArea, put_ShouldConstrainPopupsToWorkArea)
|
|
139
|
+
class IDesktopWindowXamlSourceFactory(ComPtr):
|
|
140
|
+
extends: IInspectable
|
|
141
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSourceFactory'
|
|
142
|
+
_iid_ = Guid('{7d2db617-14e7-5d49-aeec-ae10887e595d}')
|
|
143
|
+
@winrt_commethod(6)
|
|
144
|
+
def CreateInstance(self, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Hosting.DesktopWindowXamlSource: ...
|
|
145
|
+
class IDesktopWindowXamlSourceGotFocusEventArgs(ComPtr):
|
|
146
|
+
extends: IInspectable
|
|
147
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSourceGotFocusEventArgs'
|
|
148
|
+
_iid_ = Guid('{cc63d863-2071-5f6b-aef9-c0ba35f3b8df}')
|
|
149
|
+
@winrt_commethod(6)
|
|
150
|
+
def get_Request(self) -> win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest: ...
|
|
151
|
+
Request = property(get_Request, None)
|
|
152
|
+
class IDesktopWindowXamlSourceTakeFocusRequestedEventArgs(ComPtr):
|
|
153
|
+
extends: IInspectable
|
|
154
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.IDesktopWindowXamlSourceTakeFocusRequestedEventArgs'
|
|
155
|
+
_iid_ = Guid('{4f5a0e2c-4ddc-5c03-939f-6f3bda560363}')
|
|
156
|
+
@winrt_commethod(6)
|
|
157
|
+
def get_Request(self) -> win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest: ...
|
|
158
|
+
Request = property(get_Request, None)
|
|
159
|
+
class IElementCompositionPreview(ComPtr):
|
|
160
|
+
extends: IInspectable
|
|
161
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.IElementCompositionPreview'
|
|
162
|
+
_iid_ = Guid('{c8ad1ef4-a93f-5a25-85bd-7c498d9856d3}')
|
|
163
|
+
class IElementCompositionPreviewStatics(ComPtr):
|
|
164
|
+
extends: IInspectable
|
|
165
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.IElementCompositionPreviewStatics'
|
|
166
|
+
_iid_ = Guid('{84da5a6c-0cfa-532b-9b15-ccd986374342}')
|
|
167
|
+
@winrt_commethod(6)
|
|
168
|
+
def GetElementVisual(self, element: win32more.Microsoft.UI.Xaml.UIElement) -> win32more.Microsoft.UI.Composition.Visual: ...
|
|
169
|
+
@winrt_commethod(7)
|
|
170
|
+
def GetElementChildVisual(self, element: win32more.Microsoft.UI.Xaml.UIElement) -> win32more.Microsoft.UI.Composition.Visual: ...
|
|
171
|
+
@winrt_commethod(8)
|
|
172
|
+
def SetElementChildVisual(self, element: win32more.Microsoft.UI.Xaml.UIElement, visual: win32more.Microsoft.UI.Composition.Visual) -> Void: ...
|
|
173
|
+
@winrt_commethod(9)
|
|
174
|
+
def GetScrollViewerManipulationPropertySet(self, scrollViewer: win32more.Microsoft.UI.Xaml.Controls.ScrollViewer) -> win32more.Microsoft.UI.Composition.CompositionPropertySet: ...
|
|
175
|
+
@winrt_commethod(10)
|
|
176
|
+
def SetImplicitShowAnimation(self, element: win32more.Microsoft.UI.Xaml.UIElement, animation: win32more.Microsoft.UI.Composition.ICompositionAnimationBase) -> Void: ...
|
|
177
|
+
@winrt_commethod(11)
|
|
178
|
+
def SetImplicitHideAnimation(self, element: win32more.Microsoft.UI.Xaml.UIElement, animation: win32more.Microsoft.UI.Composition.ICompositionAnimationBase) -> Void: ...
|
|
179
|
+
@winrt_commethod(12)
|
|
180
|
+
def SetIsTranslationEnabled(self, element: win32more.Microsoft.UI.Xaml.UIElement, value: Boolean) -> Void: ...
|
|
181
|
+
@winrt_commethod(13)
|
|
182
|
+
def GetPointerPositionPropertySet(self, targetElement: win32more.Microsoft.UI.Xaml.UIElement) -> win32more.Microsoft.UI.Composition.CompositionPropertySet: ...
|
|
183
|
+
class IWindowsXamlManager(ComPtr):
|
|
184
|
+
extends: IInspectable
|
|
185
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.IWindowsXamlManager'
|
|
186
|
+
_iid_ = Guid('{85a2e562-7e8f-5333-a104-a3e672a2ffee}')
|
|
187
|
+
class IWindowsXamlManager2(ComPtr):
|
|
188
|
+
extends: IInspectable
|
|
189
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.IWindowsXamlManager2'
|
|
190
|
+
_iid_ = Guid('{bd67cff5-b887-56da-b0a2-dad10a6520e9}')
|
|
191
|
+
@winrt_commethod(6)
|
|
192
|
+
def add_XamlShutdownCompletedOnThread(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Hosting.WindowsXamlManager, win32more.Microsoft.UI.Xaml.Hosting.XamlShutdownCompletedOnThreadEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
193
|
+
@winrt_commethod(7)
|
|
194
|
+
def remove_XamlShutdownCompletedOnThread(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
195
|
+
XamlShutdownCompletedOnThread = event()
|
|
196
|
+
class IWindowsXamlManagerStatics(ComPtr):
|
|
197
|
+
extends: IInspectable
|
|
198
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.IWindowsXamlManagerStatics'
|
|
199
|
+
_iid_ = Guid('{56cb591d-de97-539f-881d-8ccdc44fa6c4}')
|
|
200
|
+
@winrt_commethod(6)
|
|
201
|
+
def InitializeForCurrentThread(self) -> win32more.Microsoft.UI.Xaml.Hosting.WindowsXamlManager: ...
|
|
202
|
+
class IWindowsXamlManagerStatics2(ComPtr):
|
|
203
|
+
extends: IInspectable
|
|
204
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.IWindowsXamlManagerStatics2'
|
|
205
|
+
_iid_ = Guid('{1062430e-0898-5240-ba52-89d9225e7e58}')
|
|
206
|
+
@winrt_commethod(6)
|
|
207
|
+
def GetForCurrentThread(self) -> win32more.Microsoft.UI.Xaml.Hosting.WindowsXamlManager: ...
|
|
208
|
+
class IXamlShutdownCompletedOnThreadEventArgs(ComPtr):
|
|
209
|
+
extends: IInspectable
|
|
210
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.IXamlShutdownCompletedOnThreadEventArgs'
|
|
211
|
+
_iid_ = Guid('{accd20e5-3576-5262-a3dd-990657681f1f}')
|
|
212
|
+
@winrt_commethod(6)
|
|
213
|
+
def GetDispatcherQueueDeferral(self) -> win32more.Windows.Foundation.Deferral: ...
|
|
214
|
+
class IXamlSourceFocusNavigationRequest(ComPtr):
|
|
215
|
+
extends: IInspectable
|
|
216
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.IXamlSourceFocusNavigationRequest'
|
|
217
|
+
_iid_ = Guid('{c883ea8b-4ce2-58be-b547-66dedf620312}')
|
|
218
|
+
@winrt_commethod(6)
|
|
219
|
+
def get_Reason(self) -> win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationReason: ...
|
|
220
|
+
@winrt_commethod(7)
|
|
221
|
+
def get_HintRect(self) -> win32more.Windows.Foundation.Rect: ...
|
|
222
|
+
@winrt_commethod(8)
|
|
223
|
+
def get_CorrelationId(self) -> Guid: ...
|
|
224
|
+
CorrelationId = property(get_CorrelationId, None)
|
|
225
|
+
HintRect = property(get_HintRect, None)
|
|
226
|
+
Reason = property(get_Reason, None)
|
|
227
|
+
class IXamlSourceFocusNavigationRequestFactory(ComPtr):
|
|
228
|
+
extends: IInspectable
|
|
229
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.IXamlSourceFocusNavigationRequestFactory'
|
|
230
|
+
_iid_ = Guid('{7a5124dd-2876-5ed8-b564-5867731d7f1e}')
|
|
231
|
+
@winrt_commethod(6)
|
|
232
|
+
def CreateInstance(self, reason: win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationReason) -> win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest: ...
|
|
233
|
+
@winrt_commethod(7)
|
|
234
|
+
def CreateInstanceWithHintRect(self, reason: win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationReason, hintRect: win32more.Windows.Foundation.Rect) -> win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest: ...
|
|
235
|
+
@winrt_commethod(8)
|
|
236
|
+
def CreateInstanceWithHintRectAndCorrelationId(self, reason: win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationReason, hintRect: win32more.Windows.Foundation.Rect, correlationId: Guid) -> win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest: ...
|
|
237
|
+
class IXamlSourceFocusNavigationResult(ComPtr):
|
|
238
|
+
extends: IInspectable
|
|
239
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.IXamlSourceFocusNavigationResult'
|
|
240
|
+
_iid_ = Guid('{d6bf378e-2aac-5e5b-ac8a-6c5d9a4c1cb8}')
|
|
241
|
+
@winrt_commethod(6)
|
|
242
|
+
def get_WasFocusMoved(self) -> Boolean: ...
|
|
243
|
+
WasFocusMoved = property(get_WasFocusMoved, None)
|
|
244
|
+
class IXamlSourceFocusNavigationResultFactory(ComPtr):
|
|
245
|
+
extends: IInspectable
|
|
246
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.IXamlSourceFocusNavigationResultFactory'
|
|
247
|
+
_iid_ = Guid('{f533f53b-5c00-5c88-9a41-3888cb86e495}')
|
|
248
|
+
@winrt_commethod(6)
|
|
249
|
+
def CreateInstance(self, focusMoved: Boolean) -> win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationResult: ...
|
|
250
|
+
class WindowsXamlManager(ComPtr):
|
|
251
|
+
extends: IInspectable
|
|
252
|
+
implements: Tuple[ContextManagerProtocol]
|
|
253
|
+
default_interface: win32more.Microsoft.UI.Xaml.Hosting.IWindowsXamlManager
|
|
254
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.WindowsXamlManager'
|
|
255
|
+
@winrt_mixinmethod
|
|
256
|
+
def add_XamlShutdownCompletedOnThread(self: win32more.Microsoft.UI.Xaml.Hosting.IWindowsXamlManager2, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Xaml.Hosting.WindowsXamlManager, win32more.Microsoft.UI.Xaml.Hosting.XamlShutdownCompletedOnThreadEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
257
|
+
@winrt_mixinmethod
|
|
258
|
+
def remove_XamlShutdownCompletedOnThread(self: win32more.Microsoft.UI.Xaml.Hosting.IWindowsXamlManager2, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
259
|
+
@winrt_mixinmethod
|
|
260
|
+
def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
|
|
261
|
+
@winrt_classmethod
|
|
262
|
+
def GetForCurrentThread(cls: win32more.Microsoft.UI.Xaml.Hosting.IWindowsXamlManagerStatics2) -> win32more.Microsoft.UI.Xaml.Hosting.WindowsXamlManager: ...
|
|
263
|
+
@winrt_classmethod
|
|
264
|
+
def InitializeForCurrentThread(cls: win32more.Microsoft.UI.Xaml.Hosting.IWindowsXamlManagerStatics) -> win32more.Microsoft.UI.Xaml.Hosting.WindowsXamlManager: ...
|
|
265
|
+
XamlShutdownCompletedOnThread = event()
|
|
266
|
+
class XamlShutdownCompletedOnThreadEventArgs(ComPtr):
|
|
267
|
+
extends: IInspectable
|
|
268
|
+
default_interface: win32more.Microsoft.UI.Xaml.Hosting.IXamlShutdownCompletedOnThreadEventArgs
|
|
269
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.XamlShutdownCompletedOnThreadEventArgs'
|
|
270
|
+
@winrt_mixinmethod
|
|
271
|
+
def GetDispatcherQueueDeferral(self: win32more.Microsoft.UI.Xaml.Hosting.IXamlShutdownCompletedOnThreadEventArgs) -> win32more.Windows.Foundation.Deferral: ...
|
|
272
|
+
class XamlSourceFocusNavigationReason(Enum, Int32):
|
|
273
|
+
Programmatic = 0
|
|
274
|
+
Restore = 1
|
|
275
|
+
First = 3
|
|
276
|
+
Last = 4
|
|
277
|
+
Left = 7
|
|
278
|
+
Up = 8
|
|
279
|
+
Right = 9
|
|
280
|
+
Down = 10
|
|
281
|
+
class XamlSourceFocusNavigationRequest(ComPtr):
|
|
282
|
+
extends: IInspectable
|
|
283
|
+
default_interface: win32more.Microsoft.UI.Xaml.Hosting.IXamlSourceFocusNavigationRequest
|
|
284
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest'
|
|
285
|
+
def __init__(self, *args, **kwargs):
|
|
286
|
+
if kwargs:
|
|
287
|
+
super().__init__(**kwargs)
|
|
288
|
+
elif len(args) == 1:
|
|
289
|
+
super().__init__(move=win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest.CreateInstance(*args))
|
|
290
|
+
elif len(args) == 2:
|
|
291
|
+
super().__init__(move=win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest.CreateInstanceWithHintRect(*args))
|
|
292
|
+
elif len(args) == 3:
|
|
293
|
+
super().__init__(move=win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest.CreateInstanceWithHintRectAndCorrelationId(*args))
|
|
294
|
+
else:
|
|
295
|
+
raise ValueError('no matched constructor')
|
|
296
|
+
@winrt_factorymethod
|
|
297
|
+
def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Hosting.IXamlSourceFocusNavigationRequestFactory, reason: win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationReason) -> win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest: ...
|
|
298
|
+
@winrt_factorymethod
|
|
299
|
+
def CreateInstanceWithHintRect(cls: win32more.Microsoft.UI.Xaml.Hosting.IXamlSourceFocusNavigationRequestFactory, reason: win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationReason, hintRect: win32more.Windows.Foundation.Rect) -> win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest: ...
|
|
300
|
+
@winrt_factorymethod
|
|
301
|
+
def CreateInstanceWithHintRectAndCorrelationId(cls: win32more.Microsoft.UI.Xaml.Hosting.IXamlSourceFocusNavigationRequestFactory, reason: win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationReason, hintRect: win32more.Windows.Foundation.Rect, correlationId: Guid) -> win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationRequest: ...
|
|
302
|
+
@winrt_mixinmethod
|
|
303
|
+
def get_Reason(self: win32more.Microsoft.UI.Xaml.Hosting.IXamlSourceFocusNavigationRequest) -> win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationReason: ...
|
|
304
|
+
@winrt_mixinmethod
|
|
305
|
+
def get_HintRect(self: win32more.Microsoft.UI.Xaml.Hosting.IXamlSourceFocusNavigationRequest) -> win32more.Windows.Foundation.Rect: ...
|
|
306
|
+
@winrt_mixinmethod
|
|
307
|
+
def get_CorrelationId(self: win32more.Microsoft.UI.Xaml.Hosting.IXamlSourceFocusNavigationRequest) -> Guid: ...
|
|
308
|
+
CorrelationId = property(get_CorrelationId, None)
|
|
309
|
+
HintRect = property(get_HintRect, None)
|
|
310
|
+
Reason = property(get_Reason, None)
|
|
311
|
+
class XamlSourceFocusNavigationResult(ComPtr):
|
|
312
|
+
extends: IInspectable
|
|
313
|
+
default_interface: win32more.Microsoft.UI.Xaml.Hosting.IXamlSourceFocusNavigationResult
|
|
314
|
+
_classid_ = 'Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationResult'
|
|
315
|
+
def __init__(self, *args, **kwargs):
|
|
316
|
+
if kwargs:
|
|
317
|
+
super().__init__(**kwargs)
|
|
318
|
+
elif len(args) == 1:
|
|
319
|
+
super().__init__(move=win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationResult.CreateInstance(*args))
|
|
320
|
+
else:
|
|
321
|
+
raise ValueError('no matched constructor')
|
|
322
|
+
@winrt_factorymethod
|
|
323
|
+
def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Hosting.IXamlSourceFocusNavigationResultFactory, focusMoved: Boolean) -> win32more.Microsoft.UI.Xaml.Hosting.XamlSourceFocusNavigationResult: ...
|
|
324
|
+
@winrt_mixinmethod
|
|
325
|
+
def get_WasFocusMoved(self: win32more.Microsoft.UI.Xaml.Hosting.IXamlSourceFocusNavigationResult) -> Boolean: ...
|
|
326
|
+
WasFocusMoved = property(get_WasFocusMoved, None)
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
make_ready(__name__)
|