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,241 @@
1
+ from __future__ import annotations
2
+ from win32more.winrt.prelude import *
3
+ import win32more.Microsoft.UI.Dispatching
4
+ import win32more.Windows.Foundation
5
+ class DispatcherExitDeferral(ComPtr):
6
+ extends: IInspectable
7
+ default_interface: win32more.Microsoft.UI.Dispatching.IDispatcherExitDeferral
8
+ _classid_ = 'Microsoft.UI.Dispatching.DispatcherExitDeferral'
9
+ def __init__(self, *args, **kwargs):
10
+ if kwargs:
11
+ super().__init__(**kwargs)
12
+ elif len(args) == 0:
13
+ super().__init__(move=win32more.Microsoft.UI.Dispatching.DispatcherExitDeferral.CreateInstance(*args))
14
+ else:
15
+ raise ValueError('no matched constructor')
16
+ @winrt_activatemethod
17
+ def CreateInstance(cls) -> win32more.Microsoft.UI.Dispatching.DispatcherExitDeferral: ...
18
+ @winrt_mixinmethod
19
+ def Complete(self: win32more.Microsoft.UI.Dispatching.IDispatcherExitDeferral) -> Void: ...
20
+ class DispatcherQueue(ComPtr):
21
+ extends: IInspectable
22
+ default_interface: win32more.Microsoft.UI.Dispatching.IDispatcherQueue
23
+ _classid_ = 'Microsoft.UI.Dispatching.DispatcherQueue'
24
+ @winrt_mixinmethod
25
+ def RunEventLoop(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueue3) -> Void: ...
26
+ @winrt_mixinmethod
27
+ def TryEnqueue(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueue, callback: win32more.Microsoft.UI.Dispatching.DispatcherQueueHandler) -> Boolean: ...
28
+ @winrt_mixinmethod
29
+ def TryEnqueueWithPriority(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueue, priority: win32more.Microsoft.UI.Dispatching.DispatcherQueuePriority, callback: win32more.Microsoft.UI.Dispatching.DispatcherQueueHandler) -> Boolean: ...
30
+ @winrt_mixinmethod
31
+ def CreateTimer(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueue) -> win32more.Microsoft.UI.Dispatching.DispatcherQueueTimer: ...
32
+ @winrt_mixinmethod
33
+ def remove_ShutdownStarting(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueue, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
34
+ @winrt_mixinmethod
35
+ def add_ShutdownCompleted(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueue, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Dispatching.DispatcherQueue, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
36
+ @winrt_mixinmethod
37
+ def remove_ShutdownCompleted(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueue, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
38
+ @winrt_mixinmethod
39
+ def get_HasThreadAccess(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueue2) -> Boolean: ...
40
+ @winrt_mixinmethod
41
+ def EnqueueEventLoopExit(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueue3) -> Void: ...
42
+ @winrt_mixinmethod
43
+ def EnsureSystemDispatcherQueue(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueue3) -> Void: ...
44
+ @winrt_mixinmethod
45
+ def add_ShutdownStarting(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueue, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Dispatching.DispatcherQueue, win32more.Microsoft.UI.Dispatching.DispatcherQueueShutdownStartingEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
46
+ @winrt_mixinmethod
47
+ def RunEventLoopWithOptions(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueue3, options: win32more.Microsoft.UI.Dispatching.DispatcherRunOptions, deferral: win32more.Microsoft.UI.Dispatching.DispatcherExitDeferral) -> Void: ...
48
+ @winrt_mixinmethod
49
+ def add_FrameworkShutdownStarting(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueue3, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Dispatching.DispatcherQueue, win32more.Microsoft.UI.Dispatching.DispatcherQueueShutdownStartingEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
50
+ @winrt_mixinmethod
51
+ def remove_FrameworkShutdownStarting(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueue3, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
52
+ @winrt_mixinmethod
53
+ def add_FrameworkShutdownCompleted(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueue3, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Dispatching.DispatcherQueue, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
54
+ @winrt_mixinmethod
55
+ def remove_FrameworkShutdownCompleted(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueue3, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
56
+ @winrt_classmethod
57
+ def GetForCurrentThread(cls: win32more.Microsoft.UI.Dispatching.IDispatcherQueueStatics) -> win32more.Microsoft.UI.Dispatching.DispatcherQueue: ...
58
+ HasThreadAccess = property(get_HasThreadAccess, None)
59
+ ShutdownCompleted = event()
60
+ ShutdownStarting = event()
61
+ FrameworkShutdownStarting = event()
62
+ FrameworkShutdownCompleted = event()
63
+ class DispatcherQueueController(ComPtr):
64
+ extends: IInspectable
65
+ default_interface: win32more.Microsoft.UI.Dispatching.IDispatcherQueueController
66
+ _classid_ = 'Microsoft.UI.Dispatching.DispatcherQueueController'
67
+ @winrt_mixinmethod
68
+ def get_DispatcherQueue(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueueController) -> win32more.Microsoft.UI.Dispatching.DispatcherQueue: ...
69
+ @winrt_mixinmethod
70
+ def ShutdownQueueAsync(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueueController) -> win32more.Windows.Foundation.IAsyncAction: ...
71
+ @winrt_mixinmethod
72
+ def ShutdownQueue(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueueController2) -> Void: ...
73
+ @winrt_classmethod
74
+ def CreateOnDedicatedThread(cls: win32more.Microsoft.UI.Dispatching.IDispatcherQueueControllerStatics) -> win32more.Microsoft.UI.Dispatching.DispatcherQueueController: ...
75
+ @winrt_classmethod
76
+ def CreateOnCurrentThread(cls: win32more.Microsoft.UI.Dispatching.IDispatcherQueueControllerStatics) -> win32more.Microsoft.UI.Dispatching.DispatcherQueueController: ...
77
+ DispatcherQueue = property(get_DispatcherQueue, None)
78
+ class DispatcherQueueHandler(MulticastDelegate):
79
+ extends: IUnknown
80
+ _iid_ = Guid('{2e0872a9-4e29-5f14-b688-fb96d5f9d5f8}')
81
+ @winrt_commethod(3)
82
+ def Invoke(self) -> Void: ...
83
+ class DispatcherQueuePriority(Enum, Int32):
84
+ Low = -10
85
+ Normal = 0
86
+ High = 10
87
+ class DispatcherQueueShutdownStartingEventArgs(ComPtr):
88
+ extends: IInspectable
89
+ default_interface: win32more.Microsoft.UI.Dispatching.IDispatcherQueueShutdownStartingEventArgs
90
+ _classid_ = 'Microsoft.UI.Dispatching.DispatcherQueueShutdownStartingEventArgs'
91
+ @winrt_mixinmethod
92
+ def GetDeferral(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueueShutdownStartingEventArgs) -> win32more.Windows.Foundation.Deferral: ...
93
+ class DispatcherQueueTimer(ComPtr):
94
+ extends: IInspectable
95
+ default_interface: win32more.Microsoft.UI.Dispatching.IDispatcherQueueTimer
96
+ _classid_ = 'Microsoft.UI.Dispatching.DispatcherQueueTimer'
97
+ @winrt_mixinmethod
98
+ def get_IsRepeating(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueueTimer) -> Boolean: ...
99
+ @winrt_mixinmethod
100
+ def put_Interval(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueueTimer, value: win32more.Windows.Foundation.TimeSpan) -> Void: ...
101
+ @winrt_mixinmethod
102
+ def get_IsRunning(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueueTimer) -> Boolean: ...
103
+ @winrt_mixinmethod
104
+ def put_IsRepeating(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueueTimer, value: Boolean) -> Void: ...
105
+ @winrt_mixinmethod
106
+ def get_Interval(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueueTimer) -> win32more.Windows.Foundation.TimeSpan: ...
107
+ @winrt_mixinmethod
108
+ def Start(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueueTimer) -> Void: ...
109
+ @winrt_mixinmethod
110
+ def Stop(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueueTimer) -> Void: ...
111
+ @winrt_mixinmethod
112
+ def add_Tick(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueueTimer, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Dispatching.DispatcherQueueTimer, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
113
+ @winrt_mixinmethod
114
+ def remove_Tick(self: win32more.Microsoft.UI.Dispatching.IDispatcherQueueTimer, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
115
+ Interval = property(get_Interval, put_Interval)
116
+ IsRepeating = property(get_IsRepeating, put_IsRepeating)
117
+ IsRunning = property(get_IsRunning, None)
118
+ Tick = event()
119
+ class DispatcherRunOptions(Enum, UInt32):
120
+ None_ = 0
121
+ ContinueOnQuit = 1
122
+ QuitOnlyLocalLoop = 2
123
+ class IDispatcherExitDeferral(ComPtr):
124
+ extends: IInspectable
125
+ _classid_ = 'Microsoft.UI.Dispatching.IDispatcherExitDeferral'
126
+ _iid_ = Guid('{910b5aac-3310-563e-8418-f3005579729e}')
127
+ @winrt_commethod(6)
128
+ def Complete(self) -> Void: ...
129
+ class IDispatcherQueue(ComPtr):
130
+ extends: IInspectable
131
+ _classid_ = 'Microsoft.UI.Dispatching.IDispatcherQueue'
132
+ _iid_ = Guid('{f6ebf8fa-be1c-5bf6-a467-73da28738ae8}')
133
+ @winrt_commethod(6)
134
+ def CreateTimer(self) -> win32more.Microsoft.UI.Dispatching.DispatcherQueueTimer: ...
135
+ @winrt_commethod(7)
136
+ def TryEnqueue(self, callback: win32more.Microsoft.UI.Dispatching.DispatcherQueueHandler) -> Boolean: ...
137
+ @winrt_commethod(8)
138
+ def TryEnqueueWithPriority(self, priority: win32more.Microsoft.UI.Dispatching.DispatcherQueuePriority, callback: win32more.Microsoft.UI.Dispatching.DispatcherQueueHandler) -> Boolean: ...
139
+ @winrt_commethod(9)
140
+ def add_ShutdownStarting(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Dispatching.DispatcherQueue, win32more.Microsoft.UI.Dispatching.DispatcherQueueShutdownStartingEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
141
+ @winrt_commethod(10)
142
+ def remove_ShutdownStarting(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
143
+ @winrt_commethod(11)
144
+ def add_ShutdownCompleted(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Dispatching.DispatcherQueue, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
145
+ @winrt_commethod(12)
146
+ def remove_ShutdownCompleted(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
147
+ ShutdownStarting = event()
148
+ ShutdownCompleted = event()
149
+ class IDispatcherQueue2(ComPtr):
150
+ extends: IInspectable
151
+ _classid_ = 'Microsoft.UI.Dispatching.IDispatcherQueue2'
152
+ _iid_ = Guid('{0cf48751-f1ac-59b8-ba52-6ce7a1444d6f}')
153
+ @winrt_commethod(6)
154
+ def get_HasThreadAccess(self) -> Boolean: ...
155
+ HasThreadAccess = property(get_HasThreadAccess, None)
156
+ class IDispatcherQueue3(ComPtr):
157
+ extends: IInspectable
158
+ _classid_ = 'Microsoft.UI.Dispatching.IDispatcherQueue3'
159
+ _iid_ = Guid('{14a7a175-5c27-5a35-b079-21960cf764a8}')
160
+ @winrt_commethod(6)
161
+ def EnqueueEventLoopExit(self) -> Void: ...
162
+ @winrt_commethod(7)
163
+ def EnsureSystemDispatcherQueue(self) -> Void: ...
164
+ @winrt_commethod(8)
165
+ def RunEventLoop(self) -> Void: ...
166
+ @winrt_commethod(9)
167
+ def RunEventLoopWithOptions(self, options: win32more.Microsoft.UI.Dispatching.DispatcherRunOptions, deferral: win32more.Microsoft.UI.Dispatching.DispatcherExitDeferral) -> Void: ...
168
+ @winrt_commethod(10)
169
+ def add_FrameworkShutdownStarting(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Dispatching.DispatcherQueue, win32more.Microsoft.UI.Dispatching.DispatcherQueueShutdownStartingEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
170
+ @winrt_commethod(11)
171
+ def remove_FrameworkShutdownStarting(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
172
+ @winrt_commethod(12)
173
+ def add_FrameworkShutdownCompleted(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Dispatching.DispatcherQueue, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
174
+ @winrt_commethod(13)
175
+ def remove_FrameworkShutdownCompleted(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
176
+ FrameworkShutdownStarting = event()
177
+ FrameworkShutdownCompleted = event()
178
+ class IDispatcherQueueController(ComPtr):
179
+ extends: IInspectable
180
+ _classid_ = 'Microsoft.UI.Dispatching.IDispatcherQueueController'
181
+ _iid_ = Guid('{bce8178d-2183-584c-9e5b-f9366f6ae484}')
182
+ @winrt_commethod(6)
183
+ def get_DispatcherQueue(self) -> win32more.Microsoft.UI.Dispatching.DispatcherQueue: ...
184
+ @winrt_commethod(7)
185
+ def ShutdownQueueAsync(self) -> win32more.Windows.Foundation.IAsyncAction: ...
186
+ DispatcherQueue = property(get_DispatcherQueue, None)
187
+ class IDispatcherQueueController2(ComPtr):
188
+ extends: IInspectable
189
+ _classid_ = 'Microsoft.UI.Dispatching.IDispatcherQueueController2'
190
+ _iid_ = Guid('{4c68ee2a-1cb1-5591-a3a2-9b590b8f8b9a}')
191
+ @winrt_commethod(6)
192
+ def ShutdownQueue(self) -> Void: ...
193
+ class IDispatcherQueueControllerStatics(ComPtr):
194
+ extends: IInspectable
195
+ _classid_ = 'Microsoft.UI.Dispatching.IDispatcherQueueControllerStatics'
196
+ _iid_ = Guid('{f18d6145-722b-593d-bcf2-a61e713f0037}')
197
+ @winrt_commethod(6)
198
+ def CreateOnDedicatedThread(self) -> win32more.Microsoft.UI.Dispatching.DispatcherQueueController: ...
199
+ @winrt_commethod(7)
200
+ def CreateOnCurrentThread(self) -> win32more.Microsoft.UI.Dispatching.DispatcherQueueController: ...
201
+ class IDispatcherQueueShutdownStartingEventArgs(ComPtr):
202
+ extends: IInspectable
203
+ _classid_ = 'Microsoft.UI.Dispatching.IDispatcherQueueShutdownStartingEventArgs'
204
+ _iid_ = Guid('{32519be5-072b-5660-a70e-8835c9b8157d}')
205
+ @winrt_commethod(6)
206
+ def GetDeferral(self) -> win32more.Windows.Foundation.Deferral: ...
207
+ class IDispatcherQueueStatics(ComPtr):
208
+ extends: IInspectable
209
+ _classid_ = 'Microsoft.UI.Dispatching.IDispatcherQueueStatics'
210
+ _iid_ = Guid('{cd3382ea-a455-5124-b63a-ca40d34ca23c}')
211
+ @winrt_commethod(6)
212
+ def GetForCurrentThread(self) -> win32more.Microsoft.UI.Dispatching.DispatcherQueue: ...
213
+ class IDispatcherQueueTimer(ComPtr):
214
+ extends: IInspectable
215
+ _classid_ = 'Microsoft.UI.Dispatching.IDispatcherQueueTimer'
216
+ _iid_ = Guid('{ad4d63fd-88fe-541f-ac11-bf2dc1ed2ce5}')
217
+ @winrt_commethod(6)
218
+ def get_Interval(self) -> win32more.Windows.Foundation.TimeSpan: ...
219
+ @winrt_commethod(7)
220
+ def put_Interval(self, value: win32more.Windows.Foundation.TimeSpan) -> Void: ...
221
+ @winrt_commethod(8)
222
+ def get_IsRunning(self) -> Boolean: ...
223
+ @winrt_commethod(9)
224
+ def get_IsRepeating(self) -> Boolean: ...
225
+ @winrt_commethod(10)
226
+ def put_IsRepeating(self, value: Boolean) -> Void: ...
227
+ @winrt_commethod(11)
228
+ def Start(self) -> Void: ...
229
+ @winrt_commethod(12)
230
+ def Stop(self) -> Void: ...
231
+ @winrt_commethod(13)
232
+ def add_Tick(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Dispatching.DispatcherQueueTimer, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
233
+ @winrt_commethod(14)
234
+ def remove_Tick(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
235
+ Interval = property(get_Interval, put_Interval)
236
+ IsRepeating = property(get_IsRepeating, put_IsRepeating)
237
+ IsRunning = property(get_IsRunning, None)
238
+ Tick = event()
239
+
240
+
241
+ make_ready(__name__)
@@ -0,0 +1,235 @@
1
+ from __future__ import annotations
2
+ from win32more.winrt.prelude import *
3
+ import win32more.Microsoft.UI.Content
4
+ import win32more.Microsoft.UI.Input
5
+ import win32more.Microsoft.UI.Input.DragDrop
6
+ import win32more.Windows.ApplicationModel.DataTransfer
7
+ import win32more.Windows.Foundation
8
+ import win32more.Windows.Graphics.Imaging
9
+ class DragDropManager(ComPtr):
10
+ extends: IInspectable
11
+ implements: Tuple[ContextManagerProtocol]
12
+ default_interface: win32more.Microsoft.UI.Input.DragDrop.IDragDropManager
13
+ _classid_ = 'Microsoft.UI.Input.DragDrop.DragDropManager'
14
+ @winrt_mixinmethod
15
+ def add_TargetRequested(self: win32more.Microsoft.UI.Input.DragDrop.IDragDropManager, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Input.DragDrop.DragDropManager, win32more.Microsoft.UI.Input.DragDrop.DropOperationTargetRequestedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
16
+ @winrt_mixinmethod
17
+ def put_AreConcurrentOperationsEnabled(self: win32more.Microsoft.UI.Input.DragDrop.IDragDropManager, value: Boolean) -> Void: ...
18
+ @winrt_mixinmethod
19
+ def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
20
+ @winrt_mixinmethod
21
+ def remove_TargetRequested(self: win32more.Microsoft.UI.Input.DragDrop.IDragDropManager, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
22
+ @winrt_mixinmethod
23
+ def get_AreConcurrentOperationsEnabled(self: win32more.Microsoft.UI.Input.DragDrop.IDragDropManager) -> Boolean: ...
24
+ @winrt_classmethod
25
+ def GetForIsland(cls: win32more.Microsoft.UI.Input.DragDrop.IDragDropManagerStatics, content: win32more.Microsoft.UI.Content.ContentIsland) -> win32more.Microsoft.UI.Input.DragDrop.DragDropManager: ...
26
+ AreConcurrentOperationsEnabled = property(get_AreConcurrentOperationsEnabled, put_AreConcurrentOperationsEnabled)
27
+ TargetRequested = event()
28
+ class DragDropModifiers(Enum, UInt32):
29
+ None_ = 0
30
+ Shift = 1
31
+ Control = 2
32
+ Alt = 4
33
+ LeftButton = 8
34
+ MiddleButton = 16
35
+ RightButton = 32
36
+ class DragInfo(ComPtr):
37
+ extends: IInspectable
38
+ default_interface: win32more.Microsoft.UI.Input.DragDrop.IDragInfo
39
+ _classid_ = 'Microsoft.UI.Input.DragDrop.DragInfo'
40
+ @winrt_mixinmethod
41
+ def get_Position(self: win32more.Microsoft.UI.Input.DragDrop.IDragInfo) -> win32more.Windows.Foundation.Point: ...
42
+ @winrt_mixinmethod
43
+ def get_Data(self: win32more.Microsoft.UI.Input.DragDrop.IDragInfo) -> win32more.Windows.ApplicationModel.DataTransfer.DataPackageView: ...
44
+ @winrt_mixinmethod
45
+ def get_Modifiers(self: win32more.Microsoft.UI.Input.DragDrop.IDragInfo) -> win32more.Microsoft.UI.Input.DragDrop.DragDropModifiers: ...
46
+ @winrt_mixinmethod
47
+ def get_AllowedOperations(self: win32more.Microsoft.UI.Input.DragDrop.IDragInfo) -> win32more.Windows.ApplicationModel.DataTransfer.DataPackageOperation: ...
48
+ AllowedOperations = property(get_AllowedOperations, None)
49
+ Data = property(get_Data, None)
50
+ Modifiers = property(get_Modifiers, None)
51
+ Position = property(get_Position, None)
52
+ class DragOperation(ComPtr):
53
+ extends: IInspectable
54
+ implements: Tuple[ContextManagerProtocol]
55
+ default_interface: win32more.Microsoft.UI.Input.DragDrop.IDragOperation
56
+ _classid_ = 'Microsoft.UI.Input.DragDrop.DragOperation'
57
+ def __init__(self, *args, **kwargs):
58
+ if kwargs:
59
+ super().__init__(**kwargs)
60
+ elif len(args) == 0:
61
+ super().__init__(move=win32more.Microsoft.UI.Input.DragDrop.DragOperation.CreateInstance(*args))
62
+ else:
63
+ raise ValueError('no matched constructor')
64
+ @winrt_activatemethod
65
+ def CreateInstance(cls) -> win32more.Microsoft.UI.Input.DragDrop.DragOperation: ...
66
+ @winrt_mixinmethod
67
+ def SetDragUIContentFromSoftwareBitmap(self: win32more.Microsoft.UI.Input.DragDrop.IDragOperation, bitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap) -> Void: ...
68
+ @winrt_mixinmethod
69
+ def put_AllowedOperations(self: win32more.Microsoft.UI.Input.DragDrop.IDragOperation, value: win32more.Windows.ApplicationModel.DataTransfer.DataPackageOperation) -> Void: ...
70
+ @winrt_mixinmethod
71
+ def get_AllowedOperations(self: win32more.Microsoft.UI.Input.DragDrop.IDragOperation) -> win32more.Windows.ApplicationModel.DataTransfer.DataPackageOperation: ...
72
+ @winrt_mixinmethod
73
+ def get_DragUIContentMode(self: win32more.Microsoft.UI.Input.DragDrop.IDragOperation) -> win32more.Microsoft.UI.Input.DragDrop.DragUIContentMode: ...
74
+ @winrt_mixinmethod
75
+ def put_DragUIContentMode(self: win32more.Microsoft.UI.Input.DragDrop.IDragOperation, value: win32more.Microsoft.UI.Input.DragDrop.DragUIContentMode) -> Void: ...
76
+ @winrt_mixinmethod
77
+ def get_Data(self: win32more.Microsoft.UI.Input.DragDrop.IDragOperation) -> win32more.Windows.ApplicationModel.DataTransfer.DataPackage: ...
78
+ @winrt_mixinmethod
79
+ def SetDragUIContentFromSoftwareBitmap2(self: win32more.Microsoft.UI.Input.DragDrop.IDragOperation, bitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap, anchorPoint: win32more.Windows.Foundation.Point) -> Void: ...
80
+ @winrt_mixinmethod
81
+ def StartAsync(self: win32more.Microsoft.UI.Input.DragDrop.IDragOperation, initialTarget: win32more.Microsoft.UI.Input.DragDrop.DragDropManager, initialPointerPoint: win32more.Microsoft.UI.Input.PointerPoint) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.ApplicationModel.DataTransfer.DataPackageOperation]: ...
82
+ @winrt_mixinmethod
83
+ def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
84
+ AllowedOperations = property(get_AllowedOperations, put_AllowedOperations)
85
+ Data = property(get_Data, None)
86
+ DragUIContentMode = property(get_DragUIContentMode, put_DragUIContentMode)
87
+ class DragUIContentMode(Enum, Int32):
88
+ Auto = 0
89
+ Deferred = 1
90
+ class DragUIOverride(ComPtr):
91
+ extends: IInspectable
92
+ default_interface: win32more.Microsoft.UI.Input.DragDrop.IDragUIOverride
93
+ _classid_ = 'Microsoft.UI.Input.DragDrop.DragUIOverride'
94
+ @winrt_mixinmethod
95
+ def put_IsGlyphVisible(self: win32more.Microsoft.UI.Input.DragDrop.IDragUIOverride, value: Boolean) -> Void: ...
96
+ @winrt_mixinmethod
97
+ def put_Caption(self: win32more.Microsoft.UI.Input.DragDrop.IDragUIOverride, value: WinRT_String) -> Void: ...
98
+ @winrt_mixinmethod
99
+ def get_IsCaptionVisible(self: win32more.Microsoft.UI.Input.DragDrop.IDragUIOverride) -> Boolean: ...
100
+ @winrt_mixinmethod
101
+ def put_IsCaptionVisible(self: win32more.Microsoft.UI.Input.DragDrop.IDragUIOverride, value: Boolean) -> Void: ...
102
+ @winrt_mixinmethod
103
+ def get_IsContentVisible(self: win32more.Microsoft.UI.Input.DragDrop.IDragUIOverride) -> Boolean: ...
104
+ @winrt_mixinmethod
105
+ def put_IsContentVisible(self: win32more.Microsoft.UI.Input.DragDrop.IDragUIOverride, value: Boolean) -> Void: ...
106
+ @winrt_mixinmethod
107
+ def get_IsGlyphVisible(self: win32more.Microsoft.UI.Input.DragDrop.IDragUIOverride) -> Boolean: ...
108
+ @winrt_mixinmethod
109
+ def get_Caption(self: win32more.Microsoft.UI.Input.DragDrop.IDragUIOverride) -> WinRT_String: ...
110
+ @winrt_mixinmethod
111
+ def Clear(self: win32more.Microsoft.UI.Input.DragDrop.IDragUIOverride) -> Void: ...
112
+ @winrt_mixinmethod
113
+ def SetContentFromSoftwareBitmap(self: win32more.Microsoft.UI.Input.DragDrop.IDragUIOverride, bitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap) -> Void: ...
114
+ @winrt_mixinmethod
115
+ def SetContentFromSoftwareBitmap2(self: win32more.Microsoft.UI.Input.DragDrop.IDragUIOverride, bitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap, anchorPoint: win32more.Windows.Foundation.Point) -> Void: ...
116
+ Caption = property(get_Caption, put_Caption)
117
+ IsCaptionVisible = property(get_IsCaptionVisible, put_IsCaptionVisible)
118
+ IsContentVisible = property(get_IsContentVisible, put_IsContentVisible)
119
+ IsGlyphVisible = property(get_IsGlyphVisible, put_IsGlyphVisible)
120
+ class DropOperationTargetRequestedEventArgs(ComPtr):
121
+ extends: IInspectable
122
+ default_interface: win32more.Microsoft.UI.Input.DragDrop.IDropOperationTargetRequestedEventArgs
123
+ _classid_ = 'Microsoft.UI.Input.DragDrop.DropOperationTargetRequestedEventArgs'
124
+ @winrt_mixinmethod
125
+ def SetTarget(self: win32more.Microsoft.UI.Input.DragDrop.IDropOperationTargetRequestedEventArgs, target: win32more.Microsoft.UI.Input.DragDrop.IDropOperationTarget) -> Void: ...
126
+ class IDragDropManager(ComPtr):
127
+ extends: IInspectable
128
+ _classid_ = 'Microsoft.UI.Input.DragDrop.IDragDropManager'
129
+ _iid_ = Guid('{4fea9efc-b073-5fbe-9c95-a4113ef6393f}')
130
+ @winrt_commethod(6)
131
+ def get_AreConcurrentOperationsEnabled(self) -> Boolean: ...
132
+ @winrt_commethod(7)
133
+ def put_AreConcurrentOperationsEnabled(self, value: Boolean) -> Void: ...
134
+ @winrt_commethod(8)
135
+ def add_TargetRequested(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Input.DragDrop.DragDropManager, win32more.Microsoft.UI.Input.DragDrop.DropOperationTargetRequestedEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
136
+ @winrt_commethod(9)
137
+ def remove_TargetRequested(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
138
+ AreConcurrentOperationsEnabled = property(get_AreConcurrentOperationsEnabled, put_AreConcurrentOperationsEnabled)
139
+ TargetRequested = event()
140
+ class IDragDropManagerStatics(ComPtr):
141
+ extends: IInspectable
142
+ _classid_ = 'Microsoft.UI.Input.DragDrop.IDragDropManagerStatics'
143
+ _iid_ = Guid('{5587c863-57d7-5d0f-8ea9-e5dcf06a0f83}')
144
+ @winrt_commethod(6)
145
+ def GetForIsland(self, content: win32more.Microsoft.UI.Content.ContentIsland) -> win32more.Microsoft.UI.Input.DragDrop.DragDropManager: ...
146
+ class IDragInfo(ComPtr):
147
+ extends: IInspectable
148
+ _classid_ = 'Microsoft.UI.Input.DragDrop.IDragInfo'
149
+ _iid_ = Guid('{7507d891-62a8-5a79-a880-ac7353d001ec}')
150
+ @winrt_commethod(6)
151
+ def get_AllowedOperations(self) -> win32more.Windows.ApplicationModel.DataTransfer.DataPackageOperation: ...
152
+ @winrt_commethod(7)
153
+ def get_Data(self) -> win32more.Windows.ApplicationModel.DataTransfer.DataPackageView: ...
154
+ @winrt_commethod(8)
155
+ def get_Modifiers(self) -> win32more.Microsoft.UI.Input.DragDrop.DragDropModifiers: ...
156
+ @winrt_commethod(9)
157
+ def get_Position(self) -> win32more.Windows.Foundation.Point: ...
158
+ AllowedOperations = property(get_AllowedOperations, None)
159
+ Data = property(get_Data, None)
160
+ Modifiers = property(get_Modifiers, None)
161
+ Position = property(get_Position, None)
162
+ class IDragOperation(ComPtr):
163
+ extends: IInspectable
164
+ _classid_ = 'Microsoft.UI.Input.DragDrop.IDragOperation'
165
+ _iid_ = Guid('{ef122288-7984-53d3-8488-133dcd3de793}')
166
+ @winrt_commethod(6)
167
+ def get_AllowedOperations(self) -> win32more.Windows.ApplicationModel.DataTransfer.DataPackageOperation: ...
168
+ @winrt_commethod(7)
169
+ def put_AllowedOperations(self, value: win32more.Windows.ApplicationModel.DataTransfer.DataPackageOperation) -> Void: ...
170
+ @winrt_commethod(8)
171
+ def get_Data(self) -> win32more.Windows.ApplicationModel.DataTransfer.DataPackage: ...
172
+ @winrt_commethod(9)
173
+ def get_DragUIContentMode(self) -> win32more.Microsoft.UI.Input.DragDrop.DragUIContentMode: ...
174
+ @winrt_commethod(10)
175
+ def put_DragUIContentMode(self, value: win32more.Microsoft.UI.Input.DragDrop.DragUIContentMode) -> Void: ...
176
+ @winrt_commethod(11)
177
+ def SetDragUIContentFromSoftwareBitmap(self, bitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap) -> Void: ...
178
+ @winrt_commethod(12)
179
+ def SetDragUIContentFromSoftwareBitmap2(self, bitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap, anchorPoint: win32more.Windows.Foundation.Point) -> Void: ...
180
+ @winrt_commethod(13)
181
+ def StartAsync(self, initialTarget: win32more.Microsoft.UI.Input.DragDrop.DragDropManager, initialPointerPoint: win32more.Microsoft.UI.Input.PointerPoint) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.ApplicationModel.DataTransfer.DataPackageOperation]: ...
182
+ AllowedOperations = property(get_AllowedOperations, put_AllowedOperations)
183
+ Data = property(get_Data, None)
184
+ DragUIContentMode = property(get_DragUIContentMode, put_DragUIContentMode)
185
+ class IDragUIOverride(ComPtr):
186
+ extends: IInspectable
187
+ _classid_ = 'Microsoft.UI.Input.DragDrop.IDragUIOverride'
188
+ _iid_ = Guid('{8432fbac-a17f-5a95-8f56-fb432280b54d}')
189
+ @winrt_commethod(6)
190
+ def get_Caption(self) -> WinRT_String: ...
191
+ @winrt_commethod(7)
192
+ def put_Caption(self, value: WinRT_String) -> Void: ...
193
+ @winrt_commethod(8)
194
+ def get_IsCaptionVisible(self) -> Boolean: ...
195
+ @winrt_commethod(9)
196
+ def put_IsCaptionVisible(self, value: Boolean) -> Void: ...
197
+ @winrt_commethod(10)
198
+ def get_IsContentVisible(self) -> Boolean: ...
199
+ @winrt_commethod(11)
200
+ def put_IsContentVisible(self, value: Boolean) -> Void: ...
201
+ @winrt_commethod(12)
202
+ def get_IsGlyphVisible(self) -> Boolean: ...
203
+ @winrt_commethod(13)
204
+ def put_IsGlyphVisible(self, value: Boolean) -> Void: ...
205
+ @winrt_commethod(14)
206
+ def Clear(self) -> Void: ...
207
+ @winrt_commethod(15)
208
+ def SetContentFromSoftwareBitmap(self, bitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap) -> Void: ...
209
+ @winrt_commethod(16)
210
+ def SetContentFromSoftwareBitmap2(self, bitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap, anchorPoint: win32more.Windows.Foundation.Point) -> Void: ...
211
+ Caption = property(get_Caption, put_Caption)
212
+ IsCaptionVisible = property(get_IsCaptionVisible, put_IsCaptionVisible)
213
+ IsContentVisible = property(get_IsContentVisible, put_IsContentVisible)
214
+ IsGlyphVisible = property(get_IsGlyphVisible, put_IsGlyphVisible)
215
+ class IDropOperationTarget(ComPtr):
216
+ extends: IInspectable
217
+ _classid_ = 'Microsoft.UI.Input.DragDrop.IDropOperationTarget'
218
+ _iid_ = Guid('{1c2707d9-0065-53c7-bbfb-50850378caf3}')
219
+ @winrt_commethod(6)
220
+ def DropAsync(self, dragInfo: win32more.Microsoft.UI.Input.DragDrop.DragInfo) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.ApplicationModel.DataTransfer.DataPackageOperation]: ...
221
+ @winrt_commethod(7)
222
+ def EnterAsync(self, dragInfo: win32more.Microsoft.UI.Input.DragDrop.DragInfo, dragUIOverride: win32more.Microsoft.UI.Input.DragDrop.DragUIOverride) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.ApplicationModel.DataTransfer.DataPackageOperation]: ...
223
+ @winrt_commethod(8)
224
+ def LeaveAsync(self, dragInfo: win32more.Microsoft.UI.Input.DragDrop.DragInfo) -> win32more.Windows.Foundation.IAsyncAction: ...
225
+ @winrt_commethod(9)
226
+ def OverAsync(self, dragInfo: win32more.Microsoft.UI.Input.DragDrop.DragInfo, dragUIOverride: win32more.Microsoft.UI.Input.DragDrop.DragUIOverride) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.ApplicationModel.DataTransfer.DataPackageOperation]: ...
227
+ class IDropOperationTargetRequestedEventArgs(ComPtr):
228
+ extends: IInspectable
229
+ _classid_ = 'Microsoft.UI.Input.DragDrop.IDropOperationTargetRequestedEventArgs'
230
+ _iid_ = Guid('{f61c5b62-720e-59ff-ad0b-e77fc5b8a4a3}')
231
+ @winrt_commethod(6)
232
+ def SetTarget(self, target: win32more.Microsoft.UI.Input.DragDrop.IDropOperationTarget) -> Void: ...
233
+
234
+
235
+ make_ready(__name__)
@@ -0,0 +1,19 @@
1
+ from __future__ import annotations
2
+ from win32more.winrt.prelude import *
3
+ import win32more.Microsoft.UI.Input
4
+ import win32more.Microsoft.UI.Input.Interop
5
+ import win32more.Windows.Devices.Input
6
+ class IPenDeviceInteropStatics(ComPtr):
7
+ extends: IInspectable
8
+ _classid_ = 'Microsoft.UI.Input.Interop.IPenDeviceInteropStatics'
9
+ _iid_ = Guid('{c2a59f2a-e077-5d30-a1bd-cf84dd09ee39}')
10
+ @winrt_commethod(6)
11
+ def FromPointerPoint(self, pointerPoint: win32more.Microsoft.UI.Input.PointerPoint) -> win32more.Windows.Devices.Input.PenDevice: ...
12
+ class PenDeviceInterop(ComPtr):
13
+ extends: IInspectable
14
+ _classid_ = 'Microsoft.UI.Input.Interop.PenDeviceInterop'
15
+ @winrt_classmethod
16
+ def FromPointerPoint(cls: win32more.Microsoft.UI.Input.Interop.IPenDeviceInteropStatics, pointerPoint: win32more.Microsoft.UI.Input.PointerPoint) -> win32more.Windows.Devices.Input.PenDevice: ...
17
+
18
+
19
+ make_ready(__name__)