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.

Files changed (66) hide show
  1. win32more/Microsoft/Foundation/__init__.py +7 -0
  2. win32more/Microsoft/Graphics/DirectX/__init__.py +167 -0
  3. win32more/Microsoft/Graphics/Display/__init__.py +174 -0
  4. win32more/Microsoft/UI/Composition/Core/__init__.py +52 -0
  5. win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +63 -0
  6. win32more/Microsoft/UI/Composition/Effects/__init__.py +96 -0
  7. win32more/Microsoft/UI/Composition/Interactions/__init__.py +951 -0
  8. win32more/Microsoft/UI/Composition/Scenes/__init__.py +671 -0
  9. win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +356 -0
  10. win32more/Microsoft/UI/Composition/__init__.py +4793 -0
  11. win32more/Microsoft/UI/Content/__init__.py +918 -0
  12. win32more/Microsoft/UI/Dispatching/__init__.py +241 -0
  13. win32more/Microsoft/UI/Input/DragDrop/__init__.py +235 -0
  14. win32more/Microsoft/UI/Input/Interop/__init__.py +19 -0
  15. win32more/Microsoft/UI/Input/__init__.py +1927 -0
  16. win32more/Microsoft/UI/System/__init__.py +46 -0
  17. win32more/Microsoft/UI/Text/__init__.py +1090 -0
  18. win32more/Microsoft/UI/Windowing/__init__.py +877 -0
  19. win32more/Microsoft/UI/Xaml/Automation/Peers/__init__.py +3414 -0
  20. win32more/Microsoft/UI/Xaml/Automation/Provider/__init__.py +489 -0
  21. win32more/Microsoft/UI/Xaml/Automation/Text/__init__.py +17 -0
  22. win32more/Microsoft/UI/Xaml/Automation/__init__.py +1607 -0
  23. win32more/Microsoft/UI/Xaml/Controls/AnimatedVisuals/__init__.py +170 -0
  24. win32more/Microsoft/UI/Xaml/Controls/Primitives/__init__.py +6458 -0
  25. win32more/Microsoft/UI/Xaml/Controls/__init__.py +31159 -0
  26. win32more/Microsoft/UI/Xaml/Core/Direct/__init__.py +7 -0
  27. win32more/Microsoft/UI/Xaml/Data/__init__.py +670 -0
  28. win32more/Microsoft/UI/Xaml/Documents/__init__.py +2030 -0
  29. win32more/Microsoft/UI/Xaml/Hosting/__init__.py +329 -0
  30. win32more/Microsoft/UI/Xaml/Input/__init__.py +1985 -0
  31. win32more/Microsoft/UI/Xaml/Interop/__init__.py +148 -0
  32. win32more/Microsoft/UI/Xaml/Markup/__init__.py +391 -0
  33. win32more/Microsoft/UI/Xaml/Media/Animation/__init__.py +4167 -0
  34. win32more/Microsoft/UI/Xaml/Media/Imaging/__init__.py +632 -0
  35. win32more/Microsoft/UI/Xaml/Media/Media3D/__init__.py +373 -0
  36. win32more/Microsoft/UI/Xaml/Media/__init__.py +3510 -0
  37. win32more/Microsoft/UI/Xaml/Navigation/__init__.py +255 -0
  38. win32more/Microsoft/UI/Xaml/Printing/__init__.py +193 -0
  39. win32more/Microsoft/UI/Xaml/Resources/__init__.py +53 -0
  40. win32more/Microsoft/UI/Xaml/Shapes/__init__.py +538 -0
  41. win32more/Microsoft/UI/Xaml/XamlTypeInfo/__init__.py +39 -0
  42. win32more/Microsoft/UI/Xaml/__init__.py +6010 -0
  43. win32more/Microsoft/UI/__init__.py +912 -0
  44. win32more/Microsoft/Web/WebView2/Core/__init__.py +4685 -0
  45. win32more/Microsoft/Windows/AppLifecycle/__init__.py +180 -0
  46. win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +572 -0
  47. win32more/Microsoft/Windows/AppNotifications/__init__.py +333 -0
  48. win32more/Microsoft/Windows/ApplicationModel/DynamicDependency/__init__.py +244 -0
  49. win32more/Microsoft/Windows/ApplicationModel/Resources/__init__.py +322 -0
  50. win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +114 -0
  51. win32more/Microsoft/Windows/Management/Deployment/__init__.py +1114 -0
  52. win32more/Microsoft/Windows/PushNotifications/__init__.py +146 -0
  53. win32more/Microsoft/Windows/Security/AccessControl/__init__.py +25 -0
  54. win32more/Microsoft/Windows/System/Power/__init__.py +223 -0
  55. win32more/Microsoft/Windows/System/__init__.py +78 -0
  56. win32more/Microsoft/Windows/Widgets/Feeds/Providers/__init__.py +181 -0
  57. win32more/Microsoft/Windows/Widgets/Providers/__init__.py +325 -0
  58. win32more/Microsoft/Windows/Widgets/__init__.py +11 -0
  59. win32more/appsdk/versioninfo.py +3 -0
  60. win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  61. win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  62. win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  63. win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/METADATA +5 -0
  64. win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/RECORD +66 -0
  65. win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/WHEEL +5 -0
  66. win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +90 -0
@@ -0,0 +1,255 @@
1
+ from __future__ import annotations
2
+ from win32more.winrt.prelude import *
3
+ import win32more.Microsoft.UI.Xaml
4
+ import win32more.Microsoft.UI.Xaml.Media.Animation
5
+ import win32more.Microsoft.UI.Xaml.Navigation
6
+ import win32more.Windows.Foundation
7
+ import win32more.Windows.UI.Xaml.Interop
8
+ class FrameNavigationOptions(ComPtr):
9
+ extends: IInspectable
10
+ default_interface: win32more.Microsoft.UI.Xaml.Navigation.IFrameNavigationOptions
11
+ _classid_ = 'Microsoft.UI.Xaml.Navigation.FrameNavigationOptions'
12
+ def __init__(self, *args, **kwargs):
13
+ if kwargs:
14
+ super().__init__(**kwargs)
15
+ elif len(args) == 0:
16
+ super().__init__(move=win32more.Microsoft.UI.Xaml.Navigation.FrameNavigationOptions.CreateInstance(*args, None, None))
17
+ else:
18
+ raise ValueError('no matched constructor')
19
+ @winrt_factorymethod
20
+ def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Navigation.IFrameNavigationOptionsFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Navigation.FrameNavigationOptions: ...
21
+ @winrt_mixinmethod
22
+ def get_IsNavigationStackEnabled(self: win32more.Microsoft.UI.Xaml.Navigation.IFrameNavigationOptions) -> Boolean: ...
23
+ @winrt_mixinmethod
24
+ def put_IsNavigationStackEnabled(self: win32more.Microsoft.UI.Xaml.Navigation.IFrameNavigationOptions, value: Boolean) -> Void: ...
25
+ @winrt_mixinmethod
26
+ def get_TransitionInfoOverride(self: win32more.Microsoft.UI.Xaml.Navigation.IFrameNavigationOptions) -> win32more.Microsoft.UI.Xaml.Media.Animation.NavigationTransitionInfo: ...
27
+ @winrt_mixinmethod
28
+ def put_TransitionInfoOverride(self: win32more.Microsoft.UI.Xaml.Navigation.IFrameNavigationOptions, value: win32more.Microsoft.UI.Xaml.Media.Animation.NavigationTransitionInfo) -> Void: ...
29
+ IsNavigationStackEnabled = property(get_IsNavigationStackEnabled, put_IsNavigationStackEnabled)
30
+ TransitionInfoOverride = property(get_TransitionInfoOverride, put_TransitionInfoOverride)
31
+ class IFrameNavigationOptions(ComPtr):
32
+ extends: IInspectable
33
+ _classid_ = 'Microsoft.UI.Xaml.Navigation.IFrameNavigationOptions'
34
+ _iid_ = Guid('{390de593-14cf-5312-af99-6cd8d59ec5d5}')
35
+ @winrt_commethod(6)
36
+ def get_IsNavigationStackEnabled(self) -> Boolean: ...
37
+ @winrt_commethod(7)
38
+ def put_IsNavigationStackEnabled(self, value: Boolean) -> Void: ...
39
+ @winrt_commethod(8)
40
+ def get_TransitionInfoOverride(self) -> win32more.Microsoft.UI.Xaml.Media.Animation.NavigationTransitionInfo: ...
41
+ @winrt_commethod(9)
42
+ def put_TransitionInfoOverride(self, value: win32more.Microsoft.UI.Xaml.Media.Animation.NavigationTransitionInfo) -> Void: ...
43
+ IsNavigationStackEnabled = property(get_IsNavigationStackEnabled, put_IsNavigationStackEnabled)
44
+ TransitionInfoOverride = property(get_TransitionInfoOverride, put_TransitionInfoOverride)
45
+ class IFrameNavigationOptionsFactory(ComPtr):
46
+ extends: IInspectable
47
+ _classid_ = 'Microsoft.UI.Xaml.Navigation.IFrameNavigationOptionsFactory'
48
+ _iid_ = Guid('{ddf3f748-7127-5cee-9f79-ac281a234632}')
49
+ @winrt_commethod(6)
50
+ def CreateInstance(self, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Navigation.FrameNavigationOptions: ...
51
+ class INavigatingCancelEventArgs(ComPtr):
52
+ extends: IInspectable
53
+ _classid_ = 'Microsoft.UI.Xaml.Navigation.INavigatingCancelEventArgs'
54
+ _iid_ = Guid('{172fde12-e06f-5df6-930e-5facf7b3fbe7}')
55
+ @winrt_commethod(6)
56
+ def get_Cancel(self) -> Boolean: ...
57
+ @winrt_commethod(7)
58
+ def put_Cancel(self, value: Boolean) -> Void: ...
59
+ @winrt_commethod(8)
60
+ def get_NavigationMode(self) -> win32more.Microsoft.UI.Xaml.Navigation.NavigationMode: ...
61
+ @winrt_commethod(9)
62
+ def get_SourcePageType(self) -> win32more.Windows.UI.Xaml.Interop.TypeName: ...
63
+ @winrt_commethod(10)
64
+ def get_Parameter(self) -> IInspectable: ...
65
+ @winrt_commethod(11)
66
+ def get_NavigationTransitionInfo(self) -> win32more.Microsoft.UI.Xaml.Media.Animation.NavigationTransitionInfo: ...
67
+ Cancel = property(get_Cancel, put_Cancel)
68
+ NavigationMode = property(get_NavigationMode, None)
69
+ NavigationTransitionInfo = property(get_NavigationTransitionInfo, None)
70
+ Parameter = property(get_Parameter, None)
71
+ SourcePageType = property(get_SourcePageType, None)
72
+ class INavigationEventArgs(ComPtr):
73
+ extends: IInspectable
74
+ _classid_ = 'Microsoft.UI.Xaml.Navigation.INavigationEventArgs'
75
+ _iid_ = Guid('{876b70b4-2923-5785-9cea-2e44aa0761bd}')
76
+ @winrt_commethod(6)
77
+ def get_Content(self) -> IInspectable: ...
78
+ @winrt_commethod(7)
79
+ def get_Parameter(self) -> IInspectable: ...
80
+ @winrt_commethod(8)
81
+ def get_NavigationTransitionInfo(self) -> win32more.Microsoft.UI.Xaml.Media.Animation.NavigationTransitionInfo: ...
82
+ @winrt_commethod(9)
83
+ def get_SourcePageType(self) -> win32more.Windows.UI.Xaml.Interop.TypeName: ...
84
+ @winrt_commethod(10)
85
+ def get_NavigationMode(self) -> win32more.Microsoft.UI.Xaml.Navigation.NavigationMode: ...
86
+ @winrt_commethod(11)
87
+ def get_Uri(self) -> win32more.Windows.Foundation.Uri: ...
88
+ @winrt_commethod(12)
89
+ def put_Uri(self, value: win32more.Windows.Foundation.Uri) -> Void: ...
90
+ Content = property(get_Content, None)
91
+ NavigationMode = property(get_NavigationMode, None)
92
+ NavigationTransitionInfo = property(get_NavigationTransitionInfo, None)
93
+ Parameter = property(get_Parameter, None)
94
+ SourcePageType = property(get_SourcePageType, None)
95
+ Uri = property(get_Uri, put_Uri)
96
+ class INavigationFailedEventArgs(ComPtr):
97
+ extends: IInspectable
98
+ _classid_ = 'Microsoft.UI.Xaml.Navigation.INavigationFailedEventArgs'
99
+ _iid_ = Guid('{f808f9a0-130c-5974-87f8-4433271a35a9}')
100
+ @winrt_commethod(6)
101
+ def get_Exception(self) -> win32more.Windows.Foundation.HResult: ...
102
+ @winrt_commethod(7)
103
+ def get_Handled(self) -> Boolean: ...
104
+ @winrt_commethod(8)
105
+ def put_Handled(self, value: Boolean) -> Void: ...
106
+ @winrt_commethod(9)
107
+ def get_SourcePageType(self) -> win32more.Windows.UI.Xaml.Interop.TypeName: ...
108
+ Exception = property(get_Exception, None)
109
+ Handled = property(get_Handled, put_Handled)
110
+ SourcePageType = property(get_SourcePageType, None)
111
+ class IPageStackEntry(ComPtr):
112
+ extends: IInspectable
113
+ _classid_ = 'Microsoft.UI.Xaml.Navigation.IPageStackEntry'
114
+ _iid_ = Guid('{d591f56e-4262-5c91-9d79-29165cd82100}')
115
+ @winrt_commethod(6)
116
+ def get_SourcePageType(self) -> win32more.Windows.UI.Xaml.Interop.TypeName: ...
117
+ @winrt_commethod(7)
118
+ def get_Parameter(self) -> IInspectable: ...
119
+ @winrt_commethod(8)
120
+ def get_NavigationTransitionInfo(self) -> win32more.Microsoft.UI.Xaml.Media.Animation.NavigationTransitionInfo: ...
121
+ NavigationTransitionInfo = property(get_NavigationTransitionInfo, None)
122
+ Parameter = property(get_Parameter, None)
123
+ SourcePageType = property(get_SourcePageType, None)
124
+ class IPageStackEntryFactory(ComPtr):
125
+ extends: IInspectable
126
+ _classid_ = 'Microsoft.UI.Xaml.Navigation.IPageStackEntryFactory'
127
+ _iid_ = Guid('{7e5a9469-6108-5e92-a499-5ee9f065a68a}')
128
+ @winrt_commethod(6)
129
+ def CreateInstance(self, sourcePageType: win32more.Windows.UI.Xaml.Interop.TypeName, parameter: IInspectable, navigationTransitionInfo: win32more.Microsoft.UI.Xaml.Media.Animation.NavigationTransitionInfo) -> win32more.Microsoft.UI.Xaml.Navigation.PageStackEntry: ...
130
+ class IPageStackEntryStatics(ComPtr):
131
+ extends: IInspectable
132
+ _classid_ = 'Microsoft.UI.Xaml.Navigation.IPageStackEntryStatics'
133
+ _iid_ = Guid('{2f1d4cb7-923b-59bb-bfc4-750933f28385}')
134
+ @winrt_commethod(6)
135
+ def get_SourcePageTypeProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
136
+ SourcePageTypeProperty = property(get_SourcePageTypeProperty, None)
137
+ class NavigatedEventHandler(MulticastDelegate):
138
+ extends: IUnknown
139
+ _iid_ = Guid('{8631b517-6d8e-58ee-82fe-d4034d1bd7c1}')
140
+ @winrt_commethod(3)
141
+ def Invoke(self, sender: IInspectable, e: win32more.Microsoft.UI.Xaml.Navigation.NavigationEventArgs) -> Void: ...
142
+ class NavigatingCancelEventArgs(ComPtr):
143
+ extends: IInspectable
144
+ default_interface: win32more.Microsoft.UI.Xaml.Navigation.INavigatingCancelEventArgs
145
+ _classid_ = 'Microsoft.UI.Xaml.Navigation.NavigatingCancelEventArgs'
146
+ @winrt_mixinmethod
147
+ def get_Cancel(self: win32more.Microsoft.UI.Xaml.Navigation.INavigatingCancelEventArgs) -> Boolean: ...
148
+ @winrt_mixinmethod
149
+ def put_Cancel(self: win32more.Microsoft.UI.Xaml.Navigation.INavigatingCancelEventArgs, value: Boolean) -> Void: ...
150
+ @winrt_mixinmethod
151
+ def get_NavigationMode(self: win32more.Microsoft.UI.Xaml.Navigation.INavigatingCancelEventArgs) -> win32more.Microsoft.UI.Xaml.Navigation.NavigationMode: ...
152
+ @winrt_mixinmethod
153
+ def get_SourcePageType(self: win32more.Microsoft.UI.Xaml.Navigation.INavigatingCancelEventArgs) -> win32more.Windows.UI.Xaml.Interop.TypeName: ...
154
+ @winrt_mixinmethod
155
+ def get_Parameter(self: win32more.Microsoft.UI.Xaml.Navigation.INavigatingCancelEventArgs) -> IInspectable: ...
156
+ @winrt_mixinmethod
157
+ def get_NavigationTransitionInfo(self: win32more.Microsoft.UI.Xaml.Navigation.INavigatingCancelEventArgs) -> win32more.Microsoft.UI.Xaml.Media.Animation.NavigationTransitionInfo: ...
158
+ Cancel = property(get_Cancel, put_Cancel)
159
+ NavigationMode = property(get_NavigationMode, None)
160
+ NavigationTransitionInfo = property(get_NavigationTransitionInfo, None)
161
+ Parameter = property(get_Parameter, None)
162
+ SourcePageType = property(get_SourcePageType, None)
163
+ class NavigatingCancelEventHandler(MulticastDelegate):
164
+ extends: IUnknown
165
+ _iid_ = Guid('{fcae1401-ec94-565f-9f48-7c4b6272b3b1}')
166
+ @winrt_commethod(3)
167
+ def Invoke(self, sender: IInspectable, e: win32more.Microsoft.UI.Xaml.Navigation.NavigatingCancelEventArgs) -> Void: ...
168
+ class NavigationCacheMode(Enum, Int32):
169
+ Disabled = 0
170
+ Required = 1
171
+ Enabled = 2
172
+ class NavigationEventArgs(ComPtr):
173
+ extends: IInspectable
174
+ default_interface: win32more.Microsoft.UI.Xaml.Navigation.INavigationEventArgs
175
+ _classid_ = 'Microsoft.UI.Xaml.Navigation.NavigationEventArgs'
176
+ @winrt_mixinmethod
177
+ def get_Content(self: win32more.Microsoft.UI.Xaml.Navigation.INavigationEventArgs) -> IInspectable: ...
178
+ @winrt_mixinmethod
179
+ def get_Parameter(self: win32more.Microsoft.UI.Xaml.Navigation.INavigationEventArgs) -> IInspectable: ...
180
+ @winrt_mixinmethod
181
+ def get_NavigationTransitionInfo(self: win32more.Microsoft.UI.Xaml.Navigation.INavigationEventArgs) -> win32more.Microsoft.UI.Xaml.Media.Animation.NavigationTransitionInfo: ...
182
+ @winrt_mixinmethod
183
+ def get_SourcePageType(self: win32more.Microsoft.UI.Xaml.Navigation.INavigationEventArgs) -> win32more.Windows.UI.Xaml.Interop.TypeName: ...
184
+ @winrt_mixinmethod
185
+ def get_NavigationMode(self: win32more.Microsoft.UI.Xaml.Navigation.INavigationEventArgs) -> win32more.Microsoft.UI.Xaml.Navigation.NavigationMode: ...
186
+ @winrt_mixinmethod
187
+ def get_Uri(self: win32more.Microsoft.UI.Xaml.Navigation.INavigationEventArgs) -> win32more.Windows.Foundation.Uri: ...
188
+ @winrt_mixinmethod
189
+ def put_Uri(self: win32more.Microsoft.UI.Xaml.Navigation.INavigationEventArgs, value: win32more.Windows.Foundation.Uri) -> Void: ...
190
+ Content = property(get_Content, None)
191
+ NavigationMode = property(get_NavigationMode, None)
192
+ NavigationTransitionInfo = property(get_NavigationTransitionInfo, None)
193
+ Parameter = property(get_Parameter, None)
194
+ SourcePageType = property(get_SourcePageType, None)
195
+ Uri = property(get_Uri, put_Uri)
196
+ class NavigationFailedEventArgs(ComPtr):
197
+ extends: IInspectable
198
+ default_interface: win32more.Microsoft.UI.Xaml.Navigation.INavigationFailedEventArgs
199
+ _classid_ = 'Microsoft.UI.Xaml.Navigation.NavigationFailedEventArgs'
200
+ @winrt_mixinmethod
201
+ def get_Exception(self: win32more.Microsoft.UI.Xaml.Navigation.INavigationFailedEventArgs) -> win32more.Windows.Foundation.HResult: ...
202
+ @winrt_mixinmethod
203
+ def get_Handled(self: win32more.Microsoft.UI.Xaml.Navigation.INavigationFailedEventArgs) -> Boolean: ...
204
+ @winrt_mixinmethod
205
+ def put_Handled(self: win32more.Microsoft.UI.Xaml.Navigation.INavigationFailedEventArgs, value: Boolean) -> Void: ...
206
+ @winrt_mixinmethod
207
+ def get_SourcePageType(self: win32more.Microsoft.UI.Xaml.Navigation.INavigationFailedEventArgs) -> win32more.Windows.UI.Xaml.Interop.TypeName: ...
208
+ Exception = property(get_Exception, None)
209
+ Handled = property(get_Handled, put_Handled)
210
+ SourcePageType = property(get_SourcePageType, None)
211
+ class NavigationFailedEventHandler(MulticastDelegate):
212
+ extends: IUnknown
213
+ _iid_ = Guid('{97ca2b56-d6eb-5fd2-a675-a339640eedba}')
214
+ @winrt_commethod(3)
215
+ def Invoke(self, sender: IInspectable, e: win32more.Microsoft.UI.Xaml.Navigation.NavigationFailedEventArgs) -> Void: ...
216
+ class NavigationMode(Enum, Int32):
217
+ New = 0
218
+ Back = 1
219
+ Forward = 2
220
+ Refresh = 3
221
+ class NavigationStoppedEventHandler(MulticastDelegate):
222
+ extends: IUnknown
223
+ _iid_ = Guid('{b9e796a6-7ffe-5a63-aef4-cbc331663b66}')
224
+ @winrt_commethod(3)
225
+ def Invoke(self, sender: IInspectable, e: win32more.Microsoft.UI.Xaml.Navigation.NavigationEventArgs) -> Void: ...
226
+ class _PageStackEntry_Meta_(ComPtr.__class__):
227
+ pass
228
+ class PageStackEntry(ComPtr, metaclass=_PageStackEntry_Meta_):
229
+ extends: win32more.Microsoft.UI.Xaml.DependencyObject
230
+ default_interface: win32more.Microsoft.UI.Xaml.Navigation.IPageStackEntry
231
+ _classid_ = 'Microsoft.UI.Xaml.Navigation.PageStackEntry'
232
+ def __init__(self, *args, **kwargs):
233
+ if kwargs:
234
+ super().__init__(**kwargs)
235
+ elif len(args) == 3:
236
+ super().__init__(move=win32more.Microsoft.UI.Xaml.Navigation.PageStackEntry.CreateInstance(*args))
237
+ else:
238
+ raise ValueError('no matched constructor')
239
+ @winrt_factorymethod
240
+ def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Navigation.IPageStackEntryFactory, sourcePageType: win32more.Windows.UI.Xaml.Interop.TypeName, parameter: IInspectable, navigationTransitionInfo: win32more.Microsoft.UI.Xaml.Media.Animation.NavigationTransitionInfo) -> win32more.Microsoft.UI.Xaml.Navigation.PageStackEntry: ...
241
+ @winrt_mixinmethod
242
+ def get_SourcePageType(self: win32more.Microsoft.UI.Xaml.Navigation.IPageStackEntry) -> win32more.Windows.UI.Xaml.Interop.TypeName: ...
243
+ @winrt_mixinmethod
244
+ def get_Parameter(self: win32more.Microsoft.UI.Xaml.Navigation.IPageStackEntry) -> IInspectable: ...
245
+ @winrt_mixinmethod
246
+ def get_NavigationTransitionInfo(self: win32more.Microsoft.UI.Xaml.Navigation.IPageStackEntry) -> win32more.Microsoft.UI.Xaml.Media.Animation.NavigationTransitionInfo: ...
247
+ @winrt_classmethod
248
+ def get_SourcePageTypeProperty(cls: win32more.Microsoft.UI.Xaml.Navigation.IPageStackEntryStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
249
+ NavigationTransitionInfo = property(get_NavigationTransitionInfo, None)
250
+ Parameter = property(get_Parameter, None)
251
+ SourcePageType = property(get_SourcePageType, None)
252
+ _PageStackEntry_Meta_.SourcePageTypeProperty = property(get_SourcePageTypeProperty, None)
253
+
254
+
255
+ make_ready(__name__)
@@ -0,0 +1,193 @@
1
+ from __future__ import annotations
2
+ from win32more.winrt.prelude import *
3
+ import win32more.Microsoft.UI.Xaml
4
+ import win32more.Microsoft.UI.Xaml.Printing
5
+ import win32more.Windows.Foundation
6
+ import win32more.Windows.Graphics.Printing
7
+ class AddPagesEventArgs(ComPtr):
8
+ extends: IInspectable
9
+ default_interface: win32more.Microsoft.UI.Xaml.Printing.IAddPagesEventArgs
10
+ _classid_ = 'Microsoft.UI.Xaml.Printing.AddPagesEventArgs'
11
+ def __init__(self, *args, **kwargs):
12
+ if kwargs:
13
+ super().__init__(**kwargs)
14
+ elif len(args) == 0:
15
+ super().__init__(move=win32more.Microsoft.UI.Xaml.Printing.AddPagesEventArgs.CreateInstance(*args))
16
+ else:
17
+ raise ValueError('no matched constructor')
18
+ @winrt_activatemethod
19
+ def CreateInstance(cls) -> win32more.Microsoft.UI.Xaml.Printing.AddPagesEventArgs: ...
20
+ @winrt_mixinmethod
21
+ def get_PrintTaskOptions(self: win32more.Microsoft.UI.Xaml.Printing.IAddPagesEventArgs) -> win32more.Windows.Graphics.Printing.PrintTaskOptions: ...
22
+ PrintTaskOptions = property(get_PrintTaskOptions, None)
23
+ class AddPagesEventHandler(MulticastDelegate):
24
+ extends: IUnknown
25
+ _iid_ = Guid('{ed77566a-bd03-5118-b7c3-d9cea64307dd}')
26
+ @winrt_commethod(3)
27
+ def Invoke(self, sender: IInspectable, e: win32more.Microsoft.UI.Xaml.Printing.AddPagesEventArgs) -> Void: ...
28
+ class GetPreviewPageEventArgs(ComPtr):
29
+ extends: IInspectable
30
+ default_interface: win32more.Microsoft.UI.Xaml.Printing.IGetPreviewPageEventArgs
31
+ _classid_ = 'Microsoft.UI.Xaml.Printing.GetPreviewPageEventArgs'
32
+ def __init__(self, *args, **kwargs):
33
+ if kwargs:
34
+ super().__init__(**kwargs)
35
+ elif len(args) == 0:
36
+ super().__init__(move=win32more.Microsoft.UI.Xaml.Printing.GetPreviewPageEventArgs.CreateInstance(*args))
37
+ else:
38
+ raise ValueError('no matched constructor')
39
+ @winrt_activatemethod
40
+ def CreateInstance(cls) -> win32more.Microsoft.UI.Xaml.Printing.GetPreviewPageEventArgs: ...
41
+ @winrt_mixinmethod
42
+ def get_PageNumber(self: win32more.Microsoft.UI.Xaml.Printing.IGetPreviewPageEventArgs) -> Int32: ...
43
+ PageNumber = property(get_PageNumber, None)
44
+ class GetPreviewPageEventHandler(MulticastDelegate):
45
+ extends: IUnknown
46
+ _iid_ = Guid('{1c801689-a018-5574-9109-bcef62176da2}')
47
+ @winrt_commethod(3)
48
+ def Invoke(self, sender: IInspectable, e: win32more.Microsoft.UI.Xaml.Printing.GetPreviewPageEventArgs) -> Void: ...
49
+ class IAddPagesEventArgs(ComPtr):
50
+ extends: IInspectable
51
+ _classid_ = 'Microsoft.UI.Xaml.Printing.IAddPagesEventArgs'
52
+ _iid_ = Guid('{a69f3cb3-6b74-5ee8-b034-188098a98c5d}')
53
+ @winrt_commethod(6)
54
+ def get_PrintTaskOptions(self) -> win32more.Windows.Graphics.Printing.PrintTaskOptions: ...
55
+ PrintTaskOptions = property(get_PrintTaskOptions, None)
56
+ class IGetPreviewPageEventArgs(ComPtr):
57
+ extends: IInspectable
58
+ _classid_ = 'Microsoft.UI.Xaml.Printing.IGetPreviewPageEventArgs'
59
+ _iid_ = Guid('{a68fbe17-f577-597f-b3ab-b379447149e6}')
60
+ @winrt_commethod(6)
61
+ def get_PageNumber(self) -> Int32: ...
62
+ PageNumber = property(get_PageNumber, None)
63
+ class IPaginateEventArgs(ComPtr):
64
+ extends: IInspectable
65
+ _classid_ = 'Microsoft.UI.Xaml.Printing.IPaginateEventArgs'
66
+ _iid_ = Guid('{6499c196-11a9-5ef8-91cb-52fb963bf172}')
67
+ @winrt_commethod(6)
68
+ def get_PrintTaskOptions(self) -> win32more.Windows.Graphics.Printing.PrintTaskOptions: ...
69
+ @winrt_commethod(7)
70
+ def get_CurrentPreviewPageNumber(self) -> Int32: ...
71
+ CurrentPreviewPageNumber = property(get_CurrentPreviewPageNumber, None)
72
+ PrintTaskOptions = property(get_PrintTaskOptions, None)
73
+ class IPrintDocument(ComPtr):
74
+ extends: IInspectable
75
+ _classid_ = 'Microsoft.UI.Xaml.Printing.IPrintDocument'
76
+ _iid_ = Guid('{1e40f1fc-5d33-5fe9-ba3e-954c0d161524}')
77
+ @winrt_commethod(6)
78
+ def get_DocumentSource(self) -> win32more.Windows.Graphics.Printing.IPrintDocumentSource: ...
79
+ @winrt_commethod(7)
80
+ def add_Paginate(self, handler: win32more.Microsoft.UI.Xaml.Printing.PaginateEventHandler) -> win32more.Windows.Foundation.EventRegistrationToken: ...
81
+ @winrt_commethod(8)
82
+ def remove_Paginate(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
83
+ @winrt_commethod(9)
84
+ def add_GetPreviewPage(self, handler: win32more.Microsoft.UI.Xaml.Printing.GetPreviewPageEventHandler) -> win32more.Windows.Foundation.EventRegistrationToken: ...
85
+ @winrt_commethod(10)
86
+ def remove_GetPreviewPage(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
87
+ @winrt_commethod(11)
88
+ def add_AddPages(self, handler: win32more.Microsoft.UI.Xaml.Printing.AddPagesEventHandler) -> win32more.Windows.Foundation.EventRegistrationToken: ...
89
+ @winrt_commethod(12)
90
+ def remove_AddPages(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
91
+ @winrt_commethod(13)
92
+ def AddPage(self, pageVisual: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
93
+ @winrt_commethod(14)
94
+ def AddPagesComplete(self) -> Void: ...
95
+ @winrt_commethod(15)
96
+ def SetPreviewPageCount(self, count: Int32, type: win32more.Microsoft.UI.Xaml.Printing.PreviewPageCountType) -> Void: ...
97
+ @winrt_commethod(16)
98
+ def SetPreviewPage(self, pageNumber: Int32, pageVisual: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
99
+ @winrt_commethod(17)
100
+ def InvalidatePreview(self) -> Void: ...
101
+ DocumentSource = property(get_DocumentSource, None)
102
+ Paginate = event()
103
+ GetPreviewPage = event()
104
+ AddPages = event()
105
+ class IPrintDocumentFactory(ComPtr):
106
+ extends: IInspectable
107
+ _classid_ = 'Microsoft.UI.Xaml.Printing.IPrintDocumentFactory'
108
+ _iid_ = Guid('{c4c1bc12-84d1-539c-b416-d7e54c45ab58}')
109
+ @winrt_commethod(6)
110
+ def CreateInstance(self, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Printing.PrintDocument: ...
111
+ class IPrintDocumentStatics(ComPtr):
112
+ extends: IInspectable
113
+ _classid_ = 'Microsoft.UI.Xaml.Printing.IPrintDocumentStatics'
114
+ _iid_ = Guid('{8975e4bc-8fc8-5e8f-a55a-bf71b9a827b7}')
115
+ @winrt_commethod(6)
116
+ def get_DocumentSourceProperty(self) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
117
+ DocumentSourceProperty = property(get_DocumentSourceProperty, None)
118
+ class PaginateEventArgs(ComPtr):
119
+ extends: IInspectable
120
+ default_interface: win32more.Microsoft.UI.Xaml.Printing.IPaginateEventArgs
121
+ _classid_ = 'Microsoft.UI.Xaml.Printing.PaginateEventArgs'
122
+ def __init__(self, *args, **kwargs):
123
+ if kwargs:
124
+ super().__init__(**kwargs)
125
+ elif len(args) == 0:
126
+ super().__init__(move=win32more.Microsoft.UI.Xaml.Printing.PaginateEventArgs.CreateInstance(*args))
127
+ else:
128
+ raise ValueError('no matched constructor')
129
+ @winrt_activatemethod
130
+ def CreateInstance(cls) -> win32more.Microsoft.UI.Xaml.Printing.PaginateEventArgs: ...
131
+ @winrt_mixinmethod
132
+ def get_PrintTaskOptions(self: win32more.Microsoft.UI.Xaml.Printing.IPaginateEventArgs) -> win32more.Windows.Graphics.Printing.PrintTaskOptions: ...
133
+ @winrt_mixinmethod
134
+ def get_CurrentPreviewPageNumber(self: win32more.Microsoft.UI.Xaml.Printing.IPaginateEventArgs) -> Int32: ...
135
+ CurrentPreviewPageNumber = property(get_CurrentPreviewPageNumber, None)
136
+ PrintTaskOptions = property(get_PrintTaskOptions, None)
137
+ class PaginateEventHandler(MulticastDelegate):
138
+ extends: IUnknown
139
+ _iid_ = Guid('{c291876c-343a-5b9b-a36c-8415ba4cd9dd}')
140
+ @winrt_commethod(3)
141
+ def Invoke(self, sender: IInspectable, e: win32more.Microsoft.UI.Xaml.Printing.PaginateEventArgs) -> Void: ...
142
+ class PreviewPageCountType(Enum, Int32):
143
+ Final = 0
144
+ Intermediate = 1
145
+ class _PrintDocument_Meta_(ComPtr.__class__):
146
+ pass
147
+ class PrintDocument(ComPtr, metaclass=_PrintDocument_Meta_):
148
+ extends: win32more.Microsoft.UI.Xaml.DependencyObject
149
+ default_interface: win32more.Microsoft.UI.Xaml.Printing.IPrintDocument
150
+ _classid_ = 'Microsoft.UI.Xaml.Printing.PrintDocument'
151
+ def __init__(self, *args, **kwargs):
152
+ if kwargs:
153
+ super().__init__(**kwargs)
154
+ elif len(args) == 0:
155
+ super().__init__(move=win32more.Microsoft.UI.Xaml.Printing.PrintDocument.CreateInstance(*args, None, None))
156
+ else:
157
+ raise ValueError('no matched constructor')
158
+ @winrt_factorymethod
159
+ def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Printing.IPrintDocumentFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Printing.PrintDocument: ...
160
+ @winrt_mixinmethod
161
+ def get_DocumentSource(self: win32more.Microsoft.UI.Xaml.Printing.IPrintDocument) -> win32more.Windows.Graphics.Printing.IPrintDocumentSource: ...
162
+ @winrt_mixinmethod
163
+ def add_Paginate(self: win32more.Microsoft.UI.Xaml.Printing.IPrintDocument, handler: win32more.Microsoft.UI.Xaml.Printing.PaginateEventHandler) -> win32more.Windows.Foundation.EventRegistrationToken: ...
164
+ @winrt_mixinmethod
165
+ def remove_Paginate(self: win32more.Microsoft.UI.Xaml.Printing.IPrintDocument, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
166
+ @winrt_mixinmethod
167
+ def add_GetPreviewPage(self: win32more.Microsoft.UI.Xaml.Printing.IPrintDocument, handler: win32more.Microsoft.UI.Xaml.Printing.GetPreviewPageEventHandler) -> win32more.Windows.Foundation.EventRegistrationToken: ...
168
+ @winrt_mixinmethod
169
+ def remove_GetPreviewPage(self: win32more.Microsoft.UI.Xaml.Printing.IPrintDocument, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
170
+ @winrt_mixinmethod
171
+ def add_AddPages(self: win32more.Microsoft.UI.Xaml.Printing.IPrintDocument, handler: win32more.Microsoft.UI.Xaml.Printing.AddPagesEventHandler) -> win32more.Windows.Foundation.EventRegistrationToken: ...
172
+ @winrt_mixinmethod
173
+ def remove_AddPages(self: win32more.Microsoft.UI.Xaml.Printing.IPrintDocument, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
174
+ @winrt_mixinmethod
175
+ def AddPage(self: win32more.Microsoft.UI.Xaml.Printing.IPrintDocument, pageVisual: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
176
+ @winrt_mixinmethod
177
+ def AddPagesComplete(self: win32more.Microsoft.UI.Xaml.Printing.IPrintDocument) -> Void: ...
178
+ @winrt_mixinmethod
179
+ def SetPreviewPageCount(self: win32more.Microsoft.UI.Xaml.Printing.IPrintDocument, count: Int32, type: win32more.Microsoft.UI.Xaml.Printing.PreviewPageCountType) -> Void: ...
180
+ @winrt_mixinmethod
181
+ def SetPreviewPage(self: win32more.Microsoft.UI.Xaml.Printing.IPrintDocument, pageNumber: Int32, pageVisual: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
182
+ @winrt_mixinmethod
183
+ def InvalidatePreview(self: win32more.Microsoft.UI.Xaml.Printing.IPrintDocument) -> Void: ...
184
+ @winrt_classmethod
185
+ def get_DocumentSourceProperty(cls: win32more.Microsoft.UI.Xaml.Printing.IPrintDocumentStatics) -> win32more.Microsoft.UI.Xaml.DependencyProperty: ...
186
+ DocumentSource = property(get_DocumentSource, None)
187
+ _PrintDocument_Meta_.DocumentSourceProperty = property(get_DocumentSourceProperty, None)
188
+ Paginate = event()
189
+ GetPreviewPage = event()
190
+ AddPages = event()
191
+
192
+
193
+ make_ready(__name__)
@@ -0,0 +1,53 @@
1
+ from __future__ import annotations
2
+ from win32more.winrt.prelude import *
3
+ import win32more.Microsoft.UI.Xaml.Resources
4
+ class _CustomXamlResourceLoader_Meta_(ComPtr.__class__):
5
+ pass
6
+ class CustomXamlResourceLoader(ComPtr, metaclass=_CustomXamlResourceLoader_Meta_):
7
+ extends: IInspectable
8
+ default_interface: win32more.Microsoft.UI.Xaml.Resources.ICustomXamlResourceLoader
9
+ _classid_ = 'Microsoft.UI.Xaml.Resources.CustomXamlResourceLoader'
10
+ def __init__(self, *args, **kwargs):
11
+ if kwargs:
12
+ super().__init__(**kwargs)
13
+ elif len(args) == 0:
14
+ super().__init__(move=win32more.Microsoft.UI.Xaml.Resources.CustomXamlResourceLoader.CreateInstance(*args, None, None))
15
+ else:
16
+ raise ValueError('no matched constructor')
17
+ @winrt_factorymethod
18
+ def CreateInstance(cls: win32more.Microsoft.UI.Xaml.Resources.ICustomXamlResourceLoaderFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Resources.CustomXamlResourceLoader: ...
19
+ @winrt_mixinmethod
20
+ def GetResource(self: win32more.Microsoft.UI.Xaml.Resources.ICustomXamlResourceLoaderOverrides, resourceId: WinRT_String, objectType: WinRT_String, propertyName: WinRT_String, propertyType: WinRT_String) -> IInspectable: ...
21
+ @winrt_classmethod
22
+ def get_Current(cls: win32more.Microsoft.UI.Xaml.Resources.ICustomXamlResourceLoaderStatics) -> win32more.Microsoft.UI.Xaml.Resources.CustomXamlResourceLoader: ...
23
+ @winrt_classmethod
24
+ def put_Current(cls: win32more.Microsoft.UI.Xaml.Resources.ICustomXamlResourceLoaderStatics, value: win32more.Microsoft.UI.Xaml.Resources.CustomXamlResourceLoader) -> Void: ...
25
+ _CustomXamlResourceLoader_Meta_.Current = property(get_Current, put_Current)
26
+ class ICustomXamlResourceLoader(ComPtr):
27
+ extends: IInspectable
28
+ _classid_ = 'Microsoft.UI.Xaml.Resources.ICustomXamlResourceLoader'
29
+ _iid_ = Guid('{2832c2e5-2ace-5993-a173-3c9c3b992b2e}')
30
+ class ICustomXamlResourceLoaderFactory(ComPtr):
31
+ extends: IInspectable
32
+ _classid_ = 'Microsoft.UI.Xaml.Resources.ICustomXamlResourceLoaderFactory'
33
+ _iid_ = Guid('{174d49a6-e1e2-5f7b-a618-a8a953d1b5a0}')
34
+ @winrt_commethod(6)
35
+ def CreateInstance(self, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.Resources.CustomXamlResourceLoader: ...
36
+ class ICustomXamlResourceLoaderOverrides(ComPtr):
37
+ extends: IInspectable
38
+ _classid_ = 'Microsoft.UI.Xaml.Resources.ICustomXamlResourceLoaderOverrides'
39
+ _iid_ = Guid('{84bb504c-6730-586a-bd04-9198264b2dc7}')
40
+ @winrt_commethod(6)
41
+ def GetResource(self, resourceId: WinRT_String, objectType: WinRT_String, propertyName: WinRT_String, propertyType: WinRT_String) -> IInspectable: ...
42
+ class ICustomXamlResourceLoaderStatics(ComPtr):
43
+ extends: IInspectable
44
+ _classid_ = 'Microsoft.UI.Xaml.Resources.ICustomXamlResourceLoaderStatics'
45
+ _iid_ = Guid('{e08a5a92-b1a2-539a-9d4a-7994e4468cd7}')
46
+ @winrt_commethod(6)
47
+ def get_Current(self) -> win32more.Microsoft.UI.Xaml.Resources.CustomXamlResourceLoader: ...
48
+ @winrt_commethod(7)
49
+ def put_Current(self, value: win32more.Microsoft.UI.Xaml.Resources.CustomXamlResourceLoader) -> Void: ...
50
+ Current = property(get_Current, put_Current)
51
+
52
+
53
+ make_ready(__name__)