winrt-Windows.UI.Core 2.2.0__cp313-cp313-win_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,757 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.foundation as windows_foundation
13
+ import winrt.windows.foundation.collections as windows_foundation_collections
14
+ import winrt.windows.system as windows_system
15
+ import winrt.windows.ui as windows_ui
16
+ import winrt.windows.ui.composition as windows_ui_composition
17
+ import winrt.windows.ui.input as windows_ui_input
18
+ import winrt.windows.ui.popups as windows_ui_popups
19
+
20
+ from winrt.windows.ui.core import AppViewBackButtonVisibility, CoreAcceleratorKeyEventType, CoreCursorType, CoreDispatcherPriority, CoreIndependentInputFilters, CoreInputDeviceTypes, CoreProcessEventsOption, CoreProximityEvaluationScore, CoreVirtualKeyStates, CoreWindowActivationMode, CoreWindowActivationState, CoreWindowFlowDirection
21
+ from winrt.windows.ui.core import DispatchedHandler, IdleDispatchedHandler
22
+
23
+ Self = typing.TypeVar('Self')
24
+
25
+ @typing.final
26
+ class CorePhysicalKeyStatus:
27
+ repeat_count: winrt.system.UInt32
28
+ scan_code: winrt.system.UInt32
29
+ is_extended_key: bool
30
+ is_menu_key_down: bool
31
+ was_key_down: bool
32
+ is_key_released: bool
33
+ def __init__(self, repeat_count: winrt.system.UInt32, scan_code: winrt.system.UInt32, is_extended_key: bool, is_menu_key_down: bool, was_key_down: bool, is_key_released: bool) -> None: ...
34
+
35
+ @typing.final
36
+ class CoreProximityEvaluation:
37
+ score: winrt.system.Int32
38
+ adjusted_point: windows_foundation.Point
39
+ def __init__(self, score: winrt.system.Int32, adjusted_point: windows_foundation.Point) -> None: ...
40
+
41
+ @typing.final
42
+ class AcceleratorKeyEventArgs(winrt.system.Object):
43
+ @staticmethod
44
+ def _from(obj: winrt.system.Object, /) -> AcceleratorKeyEventArgs: ...
45
+ @_property
46
+ def event_type(self) -> CoreAcceleratorKeyEventType: ...
47
+ @_property
48
+ def key_status(self) -> CorePhysicalKeyStatus: ...
49
+ @_property
50
+ def virtual_key(self) -> windows_system.VirtualKey: ...
51
+ @_property
52
+ def device_id(self) -> str: ...
53
+ @_property
54
+ def handled(self) -> bool: ...
55
+ @handled.setter
56
+ def handled(self, value: bool) -> None: ...
57
+
58
+ @typing.final
59
+ class AutomationProviderRequestedEventArgs(winrt.system.Object):
60
+ @staticmethod
61
+ def _from(obj: winrt.system.Object, /) -> AutomationProviderRequestedEventArgs: ...
62
+ @_property
63
+ def automation_provider(self) -> typing.Optional[winrt.system.Object]: ...
64
+ @automation_provider.setter
65
+ def automation_provider(self, value: typing.Optional[winrt.system.Object]) -> None: ...
66
+ @_property
67
+ def handled(self) -> bool: ...
68
+ @handled.setter
69
+ def handled(self, value: bool) -> None: ...
70
+
71
+ @typing.final
72
+ class BackRequestedEventArgs(winrt.system.Object):
73
+ @staticmethod
74
+ def _from(obj: winrt.system.Object, /) -> BackRequestedEventArgs: ...
75
+ @_property
76
+ def handled(self) -> bool: ...
77
+ @handled.setter
78
+ def handled(self, value: bool) -> None: ...
79
+
80
+ @typing.final
81
+ class CharacterReceivedEventArgs(winrt.system.Object):
82
+ @staticmethod
83
+ def _from(obj: winrt.system.Object, /) -> CharacterReceivedEventArgs: ...
84
+ @_property
85
+ def key_code(self) -> winrt.system.UInt32: ...
86
+ @_property
87
+ def key_status(self) -> CorePhysicalKeyStatus: ...
88
+ @_property
89
+ def handled(self) -> bool: ...
90
+ @handled.setter
91
+ def handled(self, value: bool) -> None: ...
92
+
93
+ @typing.final
94
+ class ClosestInteractiveBoundsRequestedEventArgs(winrt.system.Object):
95
+ @staticmethod
96
+ def _from(obj: winrt.system.Object, /) -> ClosestInteractiveBoundsRequestedEventArgs: ...
97
+ @_property
98
+ def closest_interactive_bounds(self) -> windows_foundation.Rect: ...
99
+ @closest_interactive_bounds.setter
100
+ def closest_interactive_bounds(self, value: windows_foundation.Rect) -> None: ...
101
+ @_property
102
+ def pointer_position(self) -> windows_foundation.Point: ...
103
+ @_property
104
+ def search_bounds(self) -> windows_foundation.Rect: ...
105
+
106
+ @typing.final
107
+ class CoreAcceleratorKeys(winrt.system.Object):
108
+ @staticmethod
109
+ def _from(obj: winrt.system.Object, /) -> CoreAcceleratorKeys: ...
110
+ def add_accelerator_key_activated(self, handler: windows_foundation.TypedEventHandler[CoreDispatcher, AcceleratorKeyEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
111
+ def remove_accelerator_key_activated(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
112
+
113
+ @typing.final
114
+ class CoreComponentInputSource(winrt.system.Object):
115
+ @staticmethod
116
+ def _from(obj: winrt.system.Object, /) -> CoreComponentInputSource: ...
117
+ def get_current_key_event_device_id(self) -> str: ...
118
+ def get_current_key_state(self, virtual_key: windows_system.VirtualKey, /) -> CoreVirtualKeyStates: ...
119
+ def release_pointer_capture(self) -> None: ...
120
+ def set_pointer_capture(self) -> None: ...
121
+ def add_input_enabled(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, InputEnabledEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
122
+ def remove_input_enabled(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
123
+ def add_pointer_capture_lost(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
124
+ def remove_pointer_capture_lost(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
125
+ def add_pointer_entered(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
126
+ def remove_pointer_entered(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
127
+ def add_pointer_exited(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
128
+ def remove_pointer_exited(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
129
+ def add_pointer_moved(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
130
+ def remove_pointer_moved(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
131
+ def add_pointer_pressed(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
132
+ def remove_pointer_pressed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
133
+ def add_pointer_released(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
134
+ def remove_pointer_released(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
135
+ def add_pointer_wheel_changed(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
136
+ def remove_pointer_wheel_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
137
+ def add_character_received(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, CharacterReceivedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
138
+ def remove_character_received(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
139
+ def add_key_down(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, KeyEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
140
+ def remove_key_down(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
141
+ def add_key_up(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, KeyEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
142
+ def remove_key_up(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
143
+ def add_got_focus(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, CoreWindowEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
144
+ def remove_got_focus(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
145
+ def add_lost_focus(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, CoreWindowEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
146
+ def remove_lost_focus(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
147
+ def add_touch_hit_testing(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, TouchHitTestingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
148
+ def remove_touch_hit_testing(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
149
+ def add_closest_interactive_bounds_requested(self, handler: windows_foundation.TypedEventHandler[CoreComponentInputSource, ClosestInteractiveBoundsRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
150
+ def remove_closest_interactive_bounds_requested(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
151
+ @_property
152
+ def has_focus(self) -> bool: ...
153
+ @_property
154
+ def is_input_enabled(self) -> bool: ...
155
+ @is_input_enabled.setter
156
+ def is_input_enabled(self, value: bool) -> None: ...
157
+ @_property
158
+ def dispatcher(self) -> typing.Optional[CoreDispatcher]: ...
159
+ @_property
160
+ def pointer_cursor(self) -> typing.Optional[CoreCursor]: ...
161
+ @pointer_cursor.setter
162
+ def pointer_cursor(self, value: typing.Optional[CoreCursor]) -> None: ...
163
+ @_property
164
+ def has_capture(self) -> bool: ...
165
+ @_property
166
+ def pointer_position(self) -> windows_foundation.Point: ...
167
+ @_property
168
+ def dispatcher_queue(self) -> typing.Optional[windows_system.DispatcherQueue]: ...
169
+
170
+ @typing.final
171
+ class CoreCursor(winrt.system.Object):
172
+ @staticmethod
173
+ def _from(obj: winrt.system.Object, /) -> CoreCursor: ...
174
+ def __new__(cls: typing.Type[CoreCursor], type: CoreCursorType, id: winrt.system.UInt32) -> CoreCursor: ...
175
+ @_property
176
+ def id(self) -> winrt.system.UInt32: ...
177
+ @_property
178
+ def type(self) -> CoreCursorType: ...
179
+
180
+ @typing.final
181
+ class CoreDispatcher(winrt.system.Object):
182
+ @staticmethod
183
+ def _from(obj: winrt.system.Object, /) -> CoreDispatcher: ...
184
+ def process_events(self, options: CoreProcessEventsOption, /) -> None: ...
185
+ def run_async(self, priority: CoreDispatcherPriority, agile_callback: typing.Optional[DispatchedHandler], /) -> windows_foundation.IAsyncAction: ...
186
+ def run_idle_async(self, agile_callback: typing.Optional[IdleDispatchedHandler], /) -> windows_foundation.IAsyncAction: ...
187
+ @typing.overload
188
+ def should_yield(self) -> bool: ...
189
+ @typing.overload
190
+ def should_yield(self, priority: CoreDispatcherPriority, /) -> bool: ...
191
+ def stop_process_events(self) -> None: ...
192
+ def try_run_async(self, priority: CoreDispatcherPriority, agile_callback: typing.Optional[DispatchedHandler], /) -> windows_foundation.IAsyncOperation[bool]: ...
193
+ def try_run_idle_async(self, agile_callback: typing.Optional[IdleDispatchedHandler], /) -> windows_foundation.IAsyncOperation[bool]: ...
194
+ def add_accelerator_key_activated(self, handler: windows_foundation.TypedEventHandler[CoreDispatcher, AcceleratorKeyEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
195
+ def remove_accelerator_key_activated(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
196
+ @_property
197
+ def has_thread_access(self) -> bool: ...
198
+ @_property
199
+ def current_priority(self) -> CoreDispatcherPriority: ...
200
+ @current_priority.setter
201
+ def current_priority(self, value: CoreDispatcherPriority) -> None: ...
202
+
203
+ @typing.final
204
+ class CoreIndependentInputSource(winrt.system.Object):
205
+ @staticmethod
206
+ def _from(obj: winrt.system.Object, /) -> CoreIndependentInputSource: ...
207
+ def release_pointer_capture(self) -> None: ...
208
+ def set_pointer_capture(self) -> None: ...
209
+ def add_input_enabled(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, InputEnabledEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
210
+ def remove_input_enabled(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
211
+ def add_pointer_capture_lost(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
212
+ def remove_pointer_capture_lost(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
213
+ def add_pointer_entered(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
214
+ def remove_pointer_entered(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
215
+ def add_pointer_exited(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
216
+ def remove_pointer_exited(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
217
+ def add_pointer_moved(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
218
+ def remove_pointer_moved(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
219
+ def add_pointer_pressed(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
220
+ def remove_pointer_pressed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
221
+ def add_pointer_released(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
222
+ def remove_pointer_released(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
223
+ def add_pointer_wheel_changed(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
224
+ def remove_pointer_wheel_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
225
+ def add_pointer_routed_away(self, handler: windows_foundation.TypedEventHandler[ICorePointerRedirector, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
226
+ def remove_pointer_routed_away(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
227
+ def add_pointer_routed_released(self, handler: windows_foundation.TypedEventHandler[ICorePointerRedirector, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
228
+ def remove_pointer_routed_released(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
229
+ def add_pointer_routed_to(self, handler: windows_foundation.TypedEventHandler[ICorePointerRedirector, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
230
+ def remove_pointer_routed_to(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
231
+ @_property
232
+ def is_input_enabled(self) -> bool: ...
233
+ @is_input_enabled.setter
234
+ def is_input_enabled(self, value: bool) -> None: ...
235
+ @_property
236
+ def dispatcher(self) -> typing.Optional[CoreDispatcher]: ...
237
+ @_property
238
+ def pointer_cursor(self) -> typing.Optional[CoreCursor]: ...
239
+ @pointer_cursor.setter
240
+ def pointer_cursor(self, value: typing.Optional[CoreCursor]) -> None: ...
241
+ @_property
242
+ def has_capture(self) -> bool: ...
243
+ @_property
244
+ def pointer_position(self) -> windows_foundation.Point: ...
245
+ @_property
246
+ def dispatcher_queue(self) -> typing.Optional[windows_system.DispatcherQueue]: ...
247
+
248
+ @typing.final
249
+ class CoreIndependentInputSourceController_Static(type):
250
+ def create_for_i_visual_element(cls, visual_element: typing.Optional[windows_ui_composition.IVisualElement], /) -> typing.Optional[CoreIndependentInputSourceController]: ...
251
+ def create_for_visual(cls, visual: typing.Optional[windows_ui_composition.Visual], /) -> typing.Optional[CoreIndependentInputSourceController]: ...
252
+
253
+ @typing.final
254
+ class CoreIndependentInputSourceController(winrt.system.Object, metaclass=CoreIndependentInputSourceController_Static):
255
+ def __enter__(self: Self) -> Self: ...
256
+ def __exit__(self, *args) -> None: ...
257
+ @staticmethod
258
+ def _from(obj: winrt.system.Object, /) -> CoreIndependentInputSourceController: ...
259
+ def close(self) -> None: ...
260
+ @typing.overload
261
+ def set_controlled_input(self, input_types: CoreInputDeviceTypes, /) -> None: ...
262
+ @typing.overload
263
+ def set_controlled_input(self, input_types: CoreInputDeviceTypes, required: CoreIndependentInputFilters, excluded: CoreIndependentInputFilters, /) -> None: ...
264
+ @_property
265
+ def is_transparent_for_uncontrolled_input(self) -> bool: ...
266
+ @is_transparent_for_uncontrolled_input.setter
267
+ def is_transparent_for_uncontrolled_input(self, value: bool) -> None: ...
268
+ @_property
269
+ def is_palm_rejection_enabled(self) -> bool: ...
270
+ @is_palm_rejection_enabled.setter
271
+ def is_palm_rejection_enabled(self, value: bool) -> None: ...
272
+ @_property
273
+ def source(self) -> typing.Optional[CoreIndependentInputSource]: ...
274
+
275
+ @typing.final
276
+ class CoreWindow_Static(type):
277
+ def get_for_current_thread(cls) -> typing.Optional[CoreWindow]: ...
278
+
279
+ @typing.final
280
+ class CoreWindow(winrt.system.Object, metaclass=CoreWindow_Static):
281
+ @staticmethod
282
+ def _from(obj: winrt.system.Object, /) -> CoreWindow: ...
283
+ def activate(self) -> None: ...
284
+ def close(self) -> None: ...
285
+ def get_async_key_state(self, virtual_key: windows_system.VirtualKey, /) -> CoreVirtualKeyStates: ...
286
+ def get_current_key_event_device_id(self) -> str: ...
287
+ def get_key_state(self, virtual_key: windows_system.VirtualKey, /) -> CoreVirtualKeyStates: ...
288
+ def release_pointer_capture(self) -> None: ...
289
+ def set_pointer_capture(self) -> None: ...
290
+ def add_activated(self, handler: windows_foundation.TypedEventHandler[CoreWindow, WindowActivatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
291
+ def remove_activated(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
292
+ def add_automation_provider_requested(self, handler: windows_foundation.TypedEventHandler[CoreWindow, AutomationProviderRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
293
+ def remove_automation_provider_requested(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
294
+ def add_character_received(self, handler: windows_foundation.TypedEventHandler[CoreWindow, CharacterReceivedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
295
+ def remove_character_received(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
296
+ def add_closed(self, handler: windows_foundation.TypedEventHandler[CoreWindow, CoreWindowEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
297
+ def remove_closed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
298
+ def add_input_enabled(self, handler: windows_foundation.TypedEventHandler[CoreWindow, InputEnabledEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
299
+ def remove_input_enabled(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
300
+ def add_key_down(self, handler: windows_foundation.TypedEventHandler[CoreWindow, KeyEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
301
+ def remove_key_down(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
302
+ def add_key_up(self, handler: windows_foundation.TypedEventHandler[CoreWindow, KeyEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
303
+ def remove_key_up(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
304
+ def add_pointer_capture_lost(self, handler: windows_foundation.TypedEventHandler[CoreWindow, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
305
+ def remove_pointer_capture_lost(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
306
+ def add_pointer_entered(self, handler: windows_foundation.TypedEventHandler[CoreWindow, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
307
+ def remove_pointer_entered(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
308
+ def add_pointer_exited(self, handler: windows_foundation.TypedEventHandler[CoreWindow, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
309
+ def remove_pointer_exited(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
310
+ def add_pointer_moved(self, handler: windows_foundation.TypedEventHandler[CoreWindow, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
311
+ def remove_pointer_moved(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
312
+ def add_pointer_pressed(self, handler: windows_foundation.TypedEventHandler[CoreWindow, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
313
+ def remove_pointer_pressed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
314
+ def add_pointer_released(self, handler: windows_foundation.TypedEventHandler[CoreWindow, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
315
+ def remove_pointer_released(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
316
+ def add_pointer_wheel_changed(self, handler: windows_foundation.TypedEventHandler[CoreWindow, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
317
+ def remove_pointer_wheel_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
318
+ def add_size_changed(self, handler: windows_foundation.TypedEventHandler[CoreWindow, WindowSizeChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
319
+ def remove_size_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
320
+ def add_touch_hit_testing(self, handler: windows_foundation.TypedEventHandler[CoreWindow, TouchHitTestingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
321
+ def remove_touch_hit_testing(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
322
+ def add_visibility_changed(self, handler: windows_foundation.TypedEventHandler[CoreWindow, VisibilityChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
323
+ def remove_visibility_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
324
+ def add_pointer_routed_away(self, handler: windows_foundation.TypedEventHandler[ICorePointerRedirector, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
325
+ def remove_pointer_routed_away(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
326
+ def add_pointer_routed_released(self, handler: windows_foundation.TypedEventHandler[ICorePointerRedirector, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
327
+ def remove_pointer_routed_released(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
328
+ def add_pointer_routed_to(self, handler: windows_foundation.TypedEventHandler[ICorePointerRedirector, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
329
+ def remove_pointer_routed_to(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
330
+ def add_closest_interactive_bounds_requested(self, handler: windows_foundation.TypedEventHandler[CoreWindow, ClosestInteractiveBoundsRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
331
+ def remove_closest_interactive_bounds_requested(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
332
+ def add_resize_completed(self, handler: windows_foundation.TypedEventHandler[CoreWindow, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
333
+ def remove_resize_completed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
334
+ def add_resize_started(self, handler: windows_foundation.TypedEventHandler[CoreWindow, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
335
+ def remove_resize_started(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
336
+ @_property
337
+ def pointer_position(self) -> windows_foundation.Point: ...
338
+ @pointer_position.setter
339
+ def pointer_position(self, value: windows_foundation.Point) -> None: ...
340
+ @_property
341
+ def pointer_cursor(self) -> typing.Optional[CoreCursor]: ...
342
+ @pointer_cursor.setter
343
+ def pointer_cursor(self, value: typing.Optional[CoreCursor]) -> None: ...
344
+ @_property
345
+ def flow_direction(self) -> CoreWindowFlowDirection: ...
346
+ @flow_direction.setter
347
+ def flow_direction(self, value: CoreWindowFlowDirection) -> None: ...
348
+ @_property
349
+ def is_input_enabled(self) -> bool: ...
350
+ @is_input_enabled.setter
351
+ def is_input_enabled(self, value: bool) -> None: ...
352
+ @_property
353
+ def dispatcher(self) -> typing.Optional[CoreDispatcher]: ...
354
+ @_property
355
+ def automation_host_provider(self) -> typing.Optional[winrt.system.Object]: ...
356
+ @_property
357
+ def bounds(self) -> windows_foundation.Rect: ...
358
+ @_property
359
+ def custom_properties(self) -> typing.Optional[windows_foundation_collections.IPropertySet]: ...
360
+ @_property
361
+ def visible(self) -> bool: ...
362
+ @_property
363
+ def activation_mode(self) -> CoreWindowActivationMode: ...
364
+ @_property
365
+ def dispatcher_queue(self) -> typing.Optional[windows_system.DispatcherQueue]: ...
366
+ @_property
367
+ def u_i_context(self) -> typing.Optional[windows_ui.UIContext]: ...
368
+
369
+ @typing.final
370
+ class CoreWindowDialog(winrt.system.Object):
371
+ @staticmethod
372
+ def _from(obj: winrt.system.Object, /) -> CoreWindowDialog: ...
373
+ @typing.overload
374
+ def __new__(cls: typing.Type[CoreWindowDialog], title: str) -> CoreWindowDialog: ...
375
+ @typing.overload
376
+ def __new__(cls: typing.Type[CoreWindowDialog]) -> CoreWindowDialog: ...
377
+ def show_async(self) -> windows_foundation.IAsyncOperation[windows_ui_popups.IUICommand]: ...
378
+ def add_showing(self, handler: windows_foundation.TypedEventHandler[CoreWindow, CoreWindowPopupShowingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
379
+ def remove_showing(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
380
+ @_property
381
+ def title(self) -> str: ...
382
+ @title.setter
383
+ def title(self, value: str) -> None: ...
384
+ @_property
385
+ def is_interaction_delayed(self) -> winrt.system.Int32: ...
386
+ @is_interaction_delayed.setter
387
+ def is_interaction_delayed(self, value: winrt.system.Int32) -> None: ...
388
+ @_property
389
+ def default_command_index(self) -> winrt.system.UInt32: ...
390
+ @default_command_index.setter
391
+ def default_command_index(self, value: winrt.system.UInt32) -> None: ...
392
+ @_property
393
+ def cancel_command_index(self) -> winrt.system.UInt32: ...
394
+ @cancel_command_index.setter
395
+ def cancel_command_index(self, value: winrt.system.UInt32) -> None: ...
396
+ @_property
397
+ def back_button_command(self) -> typing.Optional[windows_ui_popups.UICommandInvokedHandler]: ...
398
+ @back_button_command.setter
399
+ def back_button_command(self, value: typing.Optional[windows_ui_popups.UICommandInvokedHandler]) -> None: ...
400
+ @_property
401
+ def commands(self) -> typing.Optional[windows_foundation_collections.IVector[windows_ui_popups.IUICommand]]: ...
402
+ @_property
403
+ def max_size(self) -> windows_foundation.Size: ...
404
+ @_property
405
+ def min_size(self) -> windows_foundation.Size: ...
406
+
407
+ @typing.final
408
+ class CoreWindowEventArgs(winrt.system.Object):
409
+ @staticmethod
410
+ def _from(obj: winrt.system.Object, /) -> CoreWindowEventArgs: ...
411
+ @_property
412
+ def handled(self) -> bool: ...
413
+ @handled.setter
414
+ def handled(self, value: bool) -> None: ...
415
+
416
+ @typing.final
417
+ class CoreWindowFlyout(winrt.system.Object):
418
+ @staticmethod
419
+ def _from(obj: winrt.system.Object, /) -> CoreWindowFlyout: ...
420
+ @typing.overload
421
+ def __new__(cls: typing.Type[CoreWindowFlyout], position: windows_foundation.Point) -> CoreWindowFlyout: ...
422
+ @typing.overload
423
+ def __new__(cls: typing.Type[CoreWindowFlyout], position: windows_foundation.Point, title: str) -> CoreWindowFlyout: ...
424
+ def show_async(self) -> windows_foundation.IAsyncOperation[windows_ui_popups.IUICommand]: ...
425
+ def add_showing(self, handler: windows_foundation.TypedEventHandler[CoreWindow, CoreWindowPopupShowingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
426
+ def remove_showing(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
427
+ @_property
428
+ def title(self) -> str: ...
429
+ @title.setter
430
+ def title(self, value: str) -> None: ...
431
+ @_property
432
+ def is_interaction_delayed(self) -> winrt.system.Int32: ...
433
+ @is_interaction_delayed.setter
434
+ def is_interaction_delayed(self, value: winrt.system.Int32) -> None: ...
435
+ @_property
436
+ def default_command_index(self) -> winrt.system.UInt32: ...
437
+ @default_command_index.setter
438
+ def default_command_index(self, value: winrt.system.UInt32) -> None: ...
439
+ @_property
440
+ def back_button_command(self) -> typing.Optional[windows_ui_popups.UICommandInvokedHandler]: ...
441
+ @back_button_command.setter
442
+ def back_button_command(self, value: typing.Optional[windows_ui_popups.UICommandInvokedHandler]) -> None: ...
443
+ @_property
444
+ def commands(self) -> typing.Optional[windows_foundation_collections.IVector[windows_ui_popups.IUICommand]]: ...
445
+ @_property
446
+ def max_size(self) -> windows_foundation.Size: ...
447
+ @_property
448
+ def min_size(self) -> windows_foundation.Size: ...
449
+
450
+ @typing.final
451
+ class CoreWindowPopupShowingEventArgs(winrt.system.Object):
452
+ @staticmethod
453
+ def _from(obj: winrt.system.Object, /) -> CoreWindowPopupShowingEventArgs: ...
454
+ def set_desired_size(self, value: windows_foundation.Size, /) -> None: ...
455
+
456
+ @typing.final
457
+ class CoreWindowResizeManager_Static(type):
458
+ def get_for_current_view(cls) -> typing.Optional[CoreWindowResizeManager]: ...
459
+
460
+ @typing.final
461
+ class CoreWindowResizeManager(winrt.system.Object, metaclass=CoreWindowResizeManager_Static):
462
+ @staticmethod
463
+ def _from(obj: winrt.system.Object, /) -> CoreWindowResizeManager: ...
464
+ def notify_layout_completed(self) -> None: ...
465
+ @_property
466
+ def should_wait_for_layout_completion(self) -> bool: ...
467
+ @should_wait_for_layout_completion.setter
468
+ def should_wait_for_layout_completion(self, value: bool) -> None: ...
469
+
470
+ @typing.final
471
+ class IdleDispatchedHandlerArgs(winrt.system.Object):
472
+ @staticmethod
473
+ def _from(obj: winrt.system.Object, /) -> IdleDispatchedHandlerArgs: ...
474
+ @_property
475
+ def is_dispatcher_idle(self) -> bool: ...
476
+
477
+ @typing.final
478
+ class InputEnabledEventArgs(winrt.system.Object):
479
+ @staticmethod
480
+ def _from(obj: winrt.system.Object, /) -> InputEnabledEventArgs: ...
481
+ @_property
482
+ def handled(self) -> bool: ...
483
+ @handled.setter
484
+ def handled(self, value: bool) -> None: ...
485
+ @_property
486
+ def input_enabled(self) -> bool: ...
487
+
488
+ @typing.final
489
+ class KeyEventArgs(winrt.system.Object):
490
+ @staticmethod
491
+ def _from(obj: winrt.system.Object, /) -> KeyEventArgs: ...
492
+ @_property
493
+ def handled(self) -> bool: ...
494
+ @handled.setter
495
+ def handled(self, value: bool) -> None: ...
496
+ @_property
497
+ def key_status(self) -> CorePhysicalKeyStatus: ...
498
+ @_property
499
+ def virtual_key(self) -> windows_system.VirtualKey: ...
500
+ @_property
501
+ def device_id(self) -> str: ...
502
+
503
+ @typing.final
504
+ class PointerEventArgs(winrt.system.Object):
505
+ @staticmethod
506
+ def _from(obj: winrt.system.Object, /) -> PointerEventArgs: ...
507
+ def get_intermediate_points(self) -> typing.Optional[windows_foundation_collections.IVector[windows_ui_input.PointerPoint]]: ...
508
+ @_property
509
+ def handled(self) -> bool: ...
510
+ @handled.setter
511
+ def handled(self, value: bool) -> None: ...
512
+ @_property
513
+ def current_point(self) -> typing.Optional[windows_ui_input.PointerPoint]: ...
514
+ @_property
515
+ def key_modifiers(self) -> windows_system.VirtualKeyModifiers: ...
516
+
517
+ @typing.final
518
+ class SystemNavigationManager_Static(type):
519
+ def get_for_current_view(cls) -> typing.Optional[SystemNavigationManager]: ...
520
+
521
+ @typing.final
522
+ class SystemNavigationManager(winrt.system.Object, metaclass=SystemNavigationManager_Static):
523
+ @staticmethod
524
+ def _from(obj: winrt.system.Object, /) -> SystemNavigationManager: ...
525
+ def add_back_requested(self, handler: windows_foundation.EventHandler[BackRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
526
+ def remove_back_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
527
+ @_property
528
+ def app_view_back_button_visibility(self) -> AppViewBackButtonVisibility: ...
529
+ @app_view_back_button_visibility.setter
530
+ def app_view_back_button_visibility(self, value: AppViewBackButtonVisibility) -> None: ...
531
+
532
+ @typing.final
533
+ class TouchHitTestingEventArgs(winrt.system.Object):
534
+ @staticmethod
535
+ def _from(obj: winrt.system.Object, /) -> TouchHitTestingEventArgs: ...
536
+ def evaluate_proximity(self, control_bounding_box: windows_foundation.Rect, /) -> CoreProximityEvaluation: ...
537
+ @_property
538
+ def handled(self) -> bool: ...
539
+ @handled.setter
540
+ def handled(self, value: bool) -> None: ...
541
+ @_property
542
+ def proximity_evaluation(self) -> CoreProximityEvaluation: ...
543
+ @proximity_evaluation.setter
544
+ def proximity_evaluation(self, value: CoreProximityEvaluation) -> None: ...
545
+ @_property
546
+ def bounding_box(self) -> windows_foundation.Rect: ...
547
+ @_property
548
+ def point(self) -> windows_foundation.Point: ...
549
+
550
+ @typing.final
551
+ class VisibilityChangedEventArgs(winrt.system.Object):
552
+ @staticmethod
553
+ def _from(obj: winrt.system.Object, /) -> VisibilityChangedEventArgs: ...
554
+ @_property
555
+ def handled(self) -> bool: ...
556
+ @handled.setter
557
+ def handled(self, value: bool) -> None: ...
558
+ @_property
559
+ def visible(self) -> bool: ...
560
+
561
+ @typing.final
562
+ class WindowActivatedEventArgs(winrt.system.Object):
563
+ @staticmethod
564
+ def _from(obj: winrt.system.Object, /) -> WindowActivatedEventArgs: ...
565
+ @_property
566
+ def handled(self) -> bool: ...
567
+ @handled.setter
568
+ def handled(self, value: bool) -> None: ...
569
+ @_property
570
+ def window_activation_state(self) -> CoreWindowActivationState: ...
571
+
572
+ @typing.final
573
+ class WindowSizeChangedEventArgs(winrt.system.Object):
574
+ @staticmethod
575
+ def _from(obj: winrt.system.Object, /) -> WindowSizeChangedEventArgs: ...
576
+ @_property
577
+ def handled(self) -> bool: ...
578
+ @handled.setter
579
+ def handled(self, value: bool) -> None: ...
580
+ @_property
581
+ def size(self) -> windows_foundation.Size: ...
582
+
583
+ @typing.final
584
+ class ICoreAcceleratorKeys(winrt.system.Object):
585
+ @staticmethod
586
+ def _from(obj: winrt.system.Object, /) -> ICoreAcceleratorKeys: ...
587
+ def add_accelerator_key_activated(self, handler: windows_foundation.TypedEventHandler[CoreDispatcher, AcceleratorKeyEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
588
+ def remove_accelerator_key_activated(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
589
+
590
+ @typing.final
591
+ class ICoreInputSourceBase(winrt.system.Object):
592
+ @staticmethod
593
+ def _from(obj: winrt.system.Object, /) -> ICoreInputSourceBase: ...
594
+ def add_input_enabled(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, InputEnabledEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
595
+ def remove_input_enabled(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
596
+ @_property
597
+ def dispatcher(self) -> typing.Optional[CoreDispatcher]: ...
598
+ @_property
599
+ def is_input_enabled(self) -> bool: ...
600
+ @is_input_enabled.setter
601
+ def is_input_enabled(self, value: bool) -> None: ...
602
+
603
+ @typing.final
604
+ class ICorePointerInputSource(winrt.system.Object):
605
+ @staticmethod
606
+ def _from(obj: winrt.system.Object, /) -> ICorePointerInputSource: ...
607
+ def release_pointer_capture(self) -> None: ...
608
+ def set_pointer_capture(self) -> None: ...
609
+ def add_pointer_capture_lost(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
610
+ def remove_pointer_capture_lost(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
611
+ def add_pointer_entered(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
612
+ def remove_pointer_entered(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
613
+ def add_pointer_exited(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
614
+ def remove_pointer_exited(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
615
+ def add_pointer_moved(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
616
+ def remove_pointer_moved(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
617
+ def add_pointer_pressed(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
618
+ def remove_pointer_pressed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
619
+ def add_pointer_released(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
620
+ def remove_pointer_released(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
621
+ def add_pointer_wheel_changed(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
622
+ def remove_pointer_wheel_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
623
+ @_property
624
+ def has_capture(self) -> bool: ...
625
+ @_property
626
+ def pointer_cursor(self) -> typing.Optional[CoreCursor]: ...
627
+ @pointer_cursor.setter
628
+ def pointer_cursor(self, value: typing.Optional[CoreCursor]) -> None: ...
629
+ @_property
630
+ def pointer_position(self) -> windows_foundation.Point: ...
631
+
632
+ @typing.final
633
+ class ICorePointerInputSource2(winrt.system.Object):
634
+ @staticmethod
635
+ def _from(obj: winrt.system.Object, /) -> ICorePointerInputSource2: ...
636
+ def release_pointer_capture(self) -> None: ...
637
+ def set_pointer_capture(self) -> None: ...
638
+ def add_pointer_capture_lost(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
639
+ def remove_pointer_capture_lost(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
640
+ def add_pointer_entered(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
641
+ def remove_pointer_entered(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
642
+ def add_pointer_exited(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
643
+ def remove_pointer_exited(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
644
+ def add_pointer_moved(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
645
+ def remove_pointer_moved(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
646
+ def add_pointer_pressed(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
647
+ def remove_pointer_pressed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
648
+ def add_pointer_released(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
649
+ def remove_pointer_released(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
650
+ def add_pointer_wheel_changed(self, handler: windows_foundation.TypedEventHandler[winrt.system.Object, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
651
+ def remove_pointer_wheel_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
652
+ @_property
653
+ def dispatcher_queue(self) -> typing.Optional[windows_system.DispatcherQueue]: ...
654
+ @_property
655
+ def has_capture(self) -> bool: ...
656
+ @_property
657
+ def pointer_cursor(self) -> typing.Optional[CoreCursor]: ...
658
+ @pointer_cursor.setter
659
+ def pointer_cursor(self, value: typing.Optional[CoreCursor]) -> None: ...
660
+ @_property
661
+ def pointer_position(self) -> windows_foundation.Point: ...
662
+
663
+ @typing.final
664
+ class ICorePointerRedirector(winrt.system.Object):
665
+ @staticmethod
666
+ def _from(obj: winrt.system.Object, /) -> ICorePointerRedirector: ...
667
+ def add_pointer_routed_away(self, handler: windows_foundation.TypedEventHandler[ICorePointerRedirector, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
668
+ def remove_pointer_routed_away(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
669
+ def add_pointer_routed_released(self, handler: windows_foundation.TypedEventHandler[ICorePointerRedirector, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
670
+ def remove_pointer_routed_released(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
671
+ def add_pointer_routed_to(self, handler: windows_foundation.TypedEventHandler[ICorePointerRedirector, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
672
+ def remove_pointer_routed_to(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
673
+
674
+ @typing.final
675
+ class ICoreWindow(winrt.system.Object):
676
+ @staticmethod
677
+ def _from(obj: winrt.system.Object, /) -> ICoreWindow: ...
678
+ def activate(self) -> None: ...
679
+ def close(self) -> None: ...
680
+ def get_async_key_state(self, virtual_key: windows_system.VirtualKey, /) -> CoreVirtualKeyStates: ...
681
+ def get_key_state(self, virtual_key: windows_system.VirtualKey, /) -> CoreVirtualKeyStates: ...
682
+ def release_pointer_capture(self) -> None: ...
683
+ def set_pointer_capture(self) -> None: ...
684
+ def add_activated(self, handler: windows_foundation.TypedEventHandler[CoreWindow, WindowActivatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
685
+ def remove_activated(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
686
+ def add_automation_provider_requested(self, handler: windows_foundation.TypedEventHandler[CoreWindow, AutomationProviderRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
687
+ def remove_automation_provider_requested(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
688
+ def add_character_received(self, handler: windows_foundation.TypedEventHandler[CoreWindow, CharacterReceivedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
689
+ def remove_character_received(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
690
+ def add_closed(self, handler: windows_foundation.TypedEventHandler[CoreWindow, CoreWindowEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
691
+ def remove_closed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
692
+ def add_input_enabled(self, handler: windows_foundation.TypedEventHandler[CoreWindow, InputEnabledEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
693
+ def remove_input_enabled(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
694
+ def add_key_down(self, handler: windows_foundation.TypedEventHandler[CoreWindow, KeyEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
695
+ def remove_key_down(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
696
+ def add_key_up(self, handler: windows_foundation.TypedEventHandler[CoreWindow, KeyEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
697
+ def remove_key_up(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
698
+ def add_pointer_capture_lost(self, handler: windows_foundation.TypedEventHandler[CoreWindow, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
699
+ def remove_pointer_capture_lost(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
700
+ def add_pointer_entered(self, handler: windows_foundation.TypedEventHandler[CoreWindow, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
701
+ def remove_pointer_entered(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
702
+ def add_pointer_exited(self, handler: windows_foundation.TypedEventHandler[CoreWindow, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
703
+ def remove_pointer_exited(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
704
+ def add_pointer_moved(self, handler: windows_foundation.TypedEventHandler[CoreWindow, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
705
+ def remove_pointer_moved(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
706
+ def add_pointer_pressed(self, handler: windows_foundation.TypedEventHandler[CoreWindow, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
707
+ def remove_pointer_pressed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
708
+ def add_pointer_released(self, handler: windows_foundation.TypedEventHandler[CoreWindow, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
709
+ def remove_pointer_released(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
710
+ def add_pointer_wheel_changed(self, handler: windows_foundation.TypedEventHandler[CoreWindow, PointerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
711
+ def remove_pointer_wheel_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
712
+ def add_size_changed(self, handler: windows_foundation.TypedEventHandler[CoreWindow, WindowSizeChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
713
+ def remove_size_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
714
+ def add_touch_hit_testing(self, handler: windows_foundation.TypedEventHandler[CoreWindow, TouchHitTestingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
715
+ def remove_touch_hit_testing(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
716
+ def add_visibility_changed(self, handler: windows_foundation.TypedEventHandler[CoreWindow, VisibilityChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
717
+ def remove_visibility_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
718
+ @_property
719
+ def automation_host_provider(self) -> typing.Optional[winrt.system.Object]: ...
720
+ @_property
721
+ def bounds(self) -> windows_foundation.Rect: ...
722
+ @_property
723
+ def custom_properties(self) -> typing.Optional[windows_foundation_collections.IPropertySet]: ...
724
+ @_property
725
+ def dispatcher(self) -> typing.Optional[CoreDispatcher]: ...
726
+ @_property
727
+ def flow_direction(self) -> CoreWindowFlowDirection: ...
728
+ @flow_direction.setter
729
+ def flow_direction(self, value: CoreWindowFlowDirection) -> None: ...
730
+ @_property
731
+ def is_input_enabled(self) -> bool: ...
732
+ @is_input_enabled.setter
733
+ def is_input_enabled(self, value: bool) -> None: ...
734
+ @_property
735
+ def pointer_cursor(self) -> typing.Optional[CoreCursor]: ...
736
+ @pointer_cursor.setter
737
+ def pointer_cursor(self, value: typing.Optional[CoreCursor]) -> None: ...
738
+ @_property
739
+ def pointer_position(self) -> windows_foundation.Point: ...
740
+ @_property
741
+ def visible(self) -> bool: ...
742
+
743
+ @typing.final
744
+ class ICoreWindowEventArgs(winrt.system.Object):
745
+ @staticmethod
746
+ def _from(obj: winrt.system.Object, /) -> ICoreWindowEventArgs: ...
747
+ @_property
748
+ def handled(self) -> bool: ...
749
+ @handled.setter
750
+ def handled(self, value: bool) -> None: ...
751
+
752
+ @typing.final
753
+ class IInitializeWithCoreWindow(winrt.system.Object):
754
+ @staticmethod
755
+ def _from(obj: winrt.system.Object, /) -> IInitializeWithCoreWindow: ...
756
+ def initialize(self, window: typing.Optional[CoreWindow], /) -> None: ...
757
+
@@ -0,0 +1,184 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import enum
4
+ import typing
5
+ import uuid as _uuid
6
+
7
+ import winrt.system
8
+ from winrt import _winrt_windows_ui_core
9
+
10
+ __all__ = [
11
+ "AppViewBackButtonVisibility",
12
+ "CoreAcceleratorKeyEventType",
13
+ "CoreCursorType",
14
+ "CoreDispatcherPriority",
15
+ "CoreIndependentInputFilters",
16
+ "CoreInputDeviceTypes",
17
+ "CoreProcessEventsOption",
18
+ "CoreProximityEvaluationScore",
19
+ "CoreVirtualKeyStates",
20
+ "CoreWindowActivationMode",
21
+ "CoreWindowActivationState",
22
+ "CoreWindowFlowDirection",
23
+ "CorePhysicalKeyStatus",
24
+ "CoreProximityEvaluation",
25
+ "AcceleratorKeyEventArgs",
26
+ "AutomationProviderRequestedEventArgs",
27
+ "BackRequestedEventArgs",
28
+ "CharacterReceivedEventArgs",
29
+ "ClosestInteractiveBoundsRequestedEventArgs",
30
+ "CoreAcceleratorKeys",
31
+ "CoreComponentInputSource",
32
+ "CoreCursor",
33
+ "CoreDispatcher",
34
+ "CoreIndependentInputSource",
35
+ "CoreIndependentInputSourceController",
36
+ "CoreWindow",
37
+ "CoreWindowDialog",
38
+ "CoreWindowEventArgs",
39
+ "CoreWindowFlyout",
40
+ "CoreWindowPopupShowingEventArgs",
41
+ "CoreWindowResizeManager",
42
+ "IdleDispatchedHandlerArgs",
43
+ "InputEnabledEventArgs",
44
+ "KeyEventArgs",
45
+ "PointerEventArgs",
46
+ "SystemNavigationManager",
47
+ "TouchHitTestingEventArgs",
48
+ "VisibilityChangedEventArgs",
49
+ "WindowActivatedEventArgs",
50
+ "WindowSizeChangedEventArgs",
51
+ "ICoreAcceleratorKeys",
52
+ "ICoreInputSourceBase",
53
+ "ICorePointerInputSource",
54
+ "ICorePointerInputSource2",
55
+ "ICorePointerRedirector",
56
+ "ICoreWindow",
57
+ "ICoreWindowEventArgs",
58
+ "IInitializeWithCoreWindow",
59
+ "DispatchedHandler",
60
+ "IdleDispatchedHandler",
61
+ ]
62
+
63
+ class AppViewBackButtonVisibility(enum.IntEnum):
64
+ VISIBLE = 0
65
+ COLLAPSED = 1
66
+ DISABLED = 2
67
+
68
+ class CoreAcceleratorKeyEventType(enum.IntEnum):
69
+ CHARACTER = 2
70
+ DEAD_CHARACTER = 3
71
+ KEY_DOWN = 0
72
+ KEY_UP = 1
73
+ SYSTEM_CHARACTER = 6
74
+ SYSTEM_DEAD_CHARACTER = 7
75
+ SYSTEM_KEY_DOWN = 4
76
+ SYSTEM_KEY_UP = 5
77
+ UNICODE_CHARACTER = 8
78
+
79
+ class CoreCursorType(enum.IntEnum):
80
+ ARROW = 0
81
+ CROSS = 1
82
+ CUSTOM = 2
83
+ HAND = 3
84
+ HELP = 4
85
+ I_BEAM = 5
86
+ SIZE_ALL = 6
87
+ SIZE_NORTHEAST_SOUTHWEST = 7
88
+ SIZE_NORTH_SOUTH = 8
89
+ SIZE_NORTHWEST_SOUTHEAST = 9
90
+ SIZE_WEST_EAST = 10
91
+ UNIVERSAL_NO = 11
92
+ UP_ARROW = 12
93
+ WAIT = 13
94
+ PIN = 14
95
+ PERSON = 15
96
+
97
+ class CoreDispatcherPriority(enum.IntEnum):
98
+ IDLE = -2
99
+ LOW = -1
100
+ NORMAL = 0
101
+ HIGH = 1
102
+
103
+ class CoreIndependentInputFilters(enum.IntFlag):
104
+ NONE = 0x0
105
+ MOUSE_BUTTON = 0x1
106
+ MOUSE_WHEEL = 0x2
107
+ MOUSE_HOVER = 0x4
108
+ PEN_WITH_BARREL = 0x8
109
+ PEN_INVERTED = 0x10
110
+
111
+ class CoreInputDeviceTypes(enum.IntFlag):
112
+ NONE = 0x0
113
+ TOUCH = 0x1
114
+ PEN = 0x2
115
+ MOUSE = 0x4
116
+
117
+ class CoreProcessEventsOption(enum.IntEnum):
118
+ PROCESS_ONE_AND_ALL_PENDING = 0
119
+ PROCESS_ONE_IF_PRESENT = 1
120
+ PROCESS_UNTIL_QUIT = 2
121
+ PROCESS_ALL_IF_PRESENT = 3
122
+
123
+ class CoreProximityEvaluationScore(enum.IntEnum):
124
+ CLOSEST = 0
125
+ FARTHEST = 2147483647
126
+
127
+ class CoreVirtualKeyStates(enum.IntFlag):
128
+ NONE = 0x0
129
+ DOWN = 0x1
130
+ LOCKED = 0x2
131
+
132
+ class CoreWindowActivationMode(enum.IntEnum):
133
+ NONE = 0
134
+ DEACTIVATED = 1
135
+ ACTIVATED_NOT_FOREGROUND = 2
136
+ ACTIVATED_IN_FOREGROUND = 3
137
+
138
+ class CoreWindowActivationState(enum.IntEnum):
139
+ CODE_ACTIVATED = 0
140
+ DEACTIVATED = 1
141
+ POINTER_ACTIVATED = 2
142
+
143
+ class CoreWindowFlowDirection(enum.IntEnum):
144
+ LEFT_TO_RIGHT = 0
145
+ RIGHT_TO_LEFT = 1
146
+
147
+ CorePhysicalKeyStatus = _winrt_windows_ui_core.CorePhysicalKeyStatus
148
+ CoreProximityEvaluation = _winrt_windows_ui_core.CoreProximityEvaluation
149
+ AcceleratorKeyEventArgs = _winrt_windows_ui_core.AcceleratorKeyEventArgs
150
+ AutomationProviderRequestedEventArgs = _winrt_windows_ui_core.AutomationProviderRequestedEventArgs
151
+ BackRequestedEventArgs = _winrt_windows_ui_core.BackRequestedEventArgs
152
+ CharacterReceivedEventArgs = _winrt_windows_ui_core.CharacterReceivedEventArgs
153
+ ClosestInteractiveBoundsRequestedEventArgs = _winrt_windows_ui_core.ClosestInteractiveBoundsRequestedEventArgs
154
+ CoreAcceleratorKeys = _winrt_windows_ui_core.CoreAcceleratorKeys
155
+ CoreComponentInputSource = _winrt_windows_ui_core.CoreComponentInputSource
156
+ CoreCursor = _winrt_windows_ui_core.CoreCursor
157
+ CoreDispatcher = _winrt_windows_ui_core.CoreDispatcher
158
+ CoreIndependentInputSource = _winrt_windows_ui_core.CoreIndependentInputSource
159
+ CoreIndependentInputSourceController = _winrt_windows_ui_core.CoreIndependentInputSourceController
160
+ CoreWindow = _winrt_windows_ui_core.CoreWindow
161
+ CoreWindowDialog = _winrt_windows_ui_core.CoreWindowDialog
162
+ CoreWindowEventArgs = _winrt_windows_ui_core.CoreWindowEventArgs
163
+ CoreWindowFlyout = _winrt_windows_ui_core.CoreWindowFlyout
164
+ CoreWindowPopupShowingEventArgs = _winrt_windows_ui_core.CoreWindowPopupShowingEventArgs
165
+ CoreWindowResizeManager = _winrt_windows_ui_core.CoreWindowResizeManager
166
+ IdleDispatchedHandlerArgs = _winrt_windows_ui_core.IdleDispatchedHandlerArgs
167
+ InputEnabledEventArgs = _winrt_windows_ui_core.InputEnabledEventArgs
168
+ KeyEventArgs = _winrt_windows_ui_core.KeyEventArgs
169
+ PointerEventArgs = _winrt_windows_ui_core.PointerEventArgs
170
+ SystemNavigationManager = _winrt_windows_ui_core.SystemNavigationManager
171
+ TouchHitTestingEventArgs = _winrt_windows_ui_core.TouchHitTestingEventArgs
172
+ VisibilityChangedEventArgs = _winrt_windows_ui_core.VisibilityChangedEventArgs
173
+ WindowActivatedEventArgs = _winrt_windows_ui_core.WindowActivatedEventArgs
174
+ WindowSizeChangedEventArgs = _winrt_windows_ui_core.WindowSizeChangedEventArgs
175
+ ICoreAcceleratorKeys = _winrt_windows_ui_core.ICoreAcceleratorKeys
176
+ ICoreInputSourceBase = _winrt_windows_ui_core.ICoreInputSourceBase
177
+ ICorePointerInputSource = _winrt_windows_ui_core.ICorePointerInputSource
178
+ ICorePointerInputSource2 = _winrt_windows_ui_core.ICorePointerInputSource2
179
+ ICorePointerRedirector = _winrt_windows_ui_core.ICorePointerRedirector
180
+ ICoreWindow = _winrt_windows_ui_core.ICoreWindow
181
+ ICoreWindowEventArgs = _winrt_windows_ui_core.ICoreWindowEventArgs
182
+ IInitializeWithCoreWindow = _winrt_windows_ui_core.IInitializeWithCoreWindow
183
+ DispatchedHandler = typing.Callable[[], None]
184
+ IdleDispatchedHandler = typing.Callable[[typing.Optional[IdleDispatchedHandlerArgs]], None]
File without changes
@@ -0,0 +1,31 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.UI.Core
3
+ Version: 2.2.0
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: Implementation :: CPython
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: <3.14,>=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime ==2.2.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.System[all] ==2.2.0 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.UI[all] ==2.2.0 ; extra == 'all'
21
+ Requires-Dist: winrt-Windows.UI.Composition[all] ==2.2.0 ; extra == 'all'
22
+ Requires-Dist: winrt-Windows.UI.Input[all] ==2.2.0 ; extra == 'all'
23
+ Requires-Dist: winrt-Windows.UI.Popups[all] ==2.2.0 ; extra == 'all'
24
+
25
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
26
+
27
+ # winrt-Windows.UI.Core
28
+
29
+ Windows Runtime (WinRT) APIs for for the `Windows.UI.Core` namespace.
30
+
31
+ This package provides the `winrt.windows.ui.core` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_ui_core.cp313-win_arm64.pyd,sha256=VW5NoT-mT74I9uaXFHmRyJu2-FenWXTWmaheifpHRoM,679936
2
+ winrt/_winrt_windows_ui_core.pyi,sha256=KlWg2XPoI9fWGTYvVdQsv-PKBooEHO8uWks0ChL47PM,48731
3
+ winrt/windows/ui/core/__init__.py,sha256=47J3BN-wIoDgPwuCR9X5QC0QpOG7Y4VVnrBOrF3dc54,6210
4
+ winrt/windows/ui/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.UI.Core-2.2.0.dist-info/METADATA,sha256=uG_aWOptE7iL3NzpNXAwejck0xrH9-M66WvLijJ99PM,1438
6
+ winrt_Windows.UI.Core-2.2.0.dist-info/WHEEL,sha256=Bc3zGnBzvnkuBaMd-KCqScACPFmA-93PSEDjeXqCzu8,101
7
+ winrt_Windows.UI.Core-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.UI.Core-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win_arm64
5
+
@@ -0,0 +1 @@
1
+ winrt