winrt-Windows.UI.Xaml.Input 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,811 @@
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.devices.input as windows_devices_input
13
+ import winrt.windows.foundation as windows_foundation
14
+ import winrt.windows.foundation.collections as windows_foundation_collections
15
+ import winrt.windows.system as windows_system
16
+ import winrt.windows.ui.core as windows_ui_core
17
+ import winrt.windows.ui.input as windows_ui_input
18
+ import winrt.windows.ui.xaml as windows_ui_xaml
19
+ import winrt.windows.ui.xaml.controls as windows_ui_xaml_controls
20
+
21
+ from winrt.windows.ui.xaml.input import FocusInputDeviceKind, FocusNavigationDirection, InputScopeNameValue, KeyTipPlacementMode, KeyboardAcceleratorPlacementMode, KeyboardNavigationMode, ManipulationModes, StandardUICommandKind, XYFocusKeyboardNavigationMode, XYFocusNavigationStrategy, XYFocusNavigationStrategyOverride
22
+ from winrt.windows.ui.xaml.input import DoubleTappedEventHandler, HoldingEventHandler, KeyEventHandler, ManipulationCompletedEventHandler, ManipulationDeltaEventHandler, ManipulationInertiaStartingEventHandler, ManipulationStartedEventHandler, ManipulationStartingEventHandler, PointerEventHandler, RightTappedEventHandler, TappedEventHandler
23
+
24
+ Self = typing.TypeVar('Self')
25
+
26
+ @typing.final
27
+ class AccessKeyDisplayDismissedEventArgs(winrt.system.Object):
28
+ @staticmethod
29
+ def _from(obj: winrt.system.Object, /) -> AccessKeyDisplayDismissedEventArgs: ...
30
+ def __new__(cls: typing.Type[AccessKeyDisplayDismissedEventArgs]) -> AccessKeyDisplayDismissedEventArgs: ...
31
+
32
+ @typing.final
33
+ class AccessKeyDisplayRequestedEventArgs(winrt.system.Object):
34
+ @staticmethod
35
+ def _from(obj: winrt.system.Object, /) -> AccessKeyDisplayRequestedEventArgs: ...
36
+ def __new__(cls: typing.Type[AccessKeyDisplayRequestedEventArgs]) -> AccessKeyDisplayRequestedEventArgs: ...
37
+ @_property
38
+ def pressed_keys(self) -> str: ...
39
+
40
+ @typing.final
41
+ class AccessKeyInvokedEventArgs(winrt.system.Object):
42
+ @staticmethod
43
+ def _from(obj: winrt.system.Object, /) -> AccessKeyInvokedEventArgs: ...
44
+ def __new__(cls: typing.Type[AccessKeyInvokedEventArgs]) -> AccessKeyInvokedEventArgs: ...
45
+ @_property
46
+ def handled(self) -> bool: ...
47
+ @handled.setter
48
+ def handled(self, value: bool) -> None: ...
49
+
50
+ @typing.final
51
+ class AccessKeyManager_Static(type):
52
+ def exit_display_mode(cls) -> None: ...
53
+ def add_is_display_mode_enabled_changed(cls, handler: windows_foundation.TypedEventHandler[winrt.system.Object, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
54
+ def remove_is_display_mode_enabled_changed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
55
+ @_property
56
+ def is_display_mode_enabled(cls) -> bool: ...
57
+ @_property
58
+ def are_key_tips_enabled(cls) -> bool: ...
59
+ @are_key_tips_enabled.setter
60
+ def are_key_tips_enabled(cls, value: bool) -> None: ...
61
+
62
+ @typing.final
63
+ class AccessKeyManager(winrt.system.Object, metaclass=AccessKeyManager_Static):
64
+ @staticmethod
65
+ def _from(obj: winrt.system.Object, /) -> AccessKeyManager: ...
66
+
67
+ @typing.final
68
+ class CanExecuteRequestedEventArgs(winrt.system.Object):
69
+ @staticmethod
70
+ def _from(obj: winrt.system.Object, /) -> CanExecuteRequestedEventArgs: ...
71
+ @_property
72
+ def can_execute(self) -> bool: ...
73
+ @can_execute.setter
74
+ def can_execute(self, value: bool) -> None: ...
75
+ @_property
76
+ def parameter(self) -> typing.Optional[winrt.system.Object]: ...
77
+
78
+ @typing.final
79
+ class CharacterReceivedRoutedEventArgs(winrt.system.Object):
80
+ @staticmethod
81
+ def _from(obj: winrt.system.Object, /) -> CharacterReceivedRoutedEventArgs: ...
82
+ @_property
83
+ def handled(self) -> bool: ...
84
+ @handled.setter
85
+ def handled(self, value: bool) -> None: ...
86
+ @_property
87
+ def character(self) -> winrt.system.Char16: ...
88
+ @_property
89
+ def key_status(self) -> windows_ui_core.CorePhysicalKeyStatus: ...
90
+ @_property
91
+ def original_source(self) -> typing.Optional[winrt.system.Object]: ...
92
+
93
+ @typing.final
94
+ class ContextRequestedEventArgs(winrt.system.Object):
95
+ @staticmethod
96
+ def _from(obj: winrt.system.Object, /) -> ContextRequestedEventArgs: ...
97
+ def __new__(cls: typing.Type[ContextRequestedEventArgs]) -> ContextRequestedEventArgs: ...
98
+ def try_get_position(self, relative_to: typing.Optional[windows_ui_xaml.UIElement], /) -> typing.Tuple[bool, windows_foundation.Point]: ...
99
+ @_property
100
+ def handled(self) -> bool: ...
101
+ @handled.setter
102
+ def handled(self, value: bool) -> None: ...
103
+ @_property
104
+ def original_source(self) -> typing.Optional[winrt.system.Object]: ...
105
+
106
+ @typing.final
107
+ class DoubleTappedRoutedEventArgs(winrt.system.Object):
108
+ @staticmethod
109
+ def _from(obj: winrt.system.Object, /) -> DoubleTappedRoutedEventArgs: ...
110
+ def __new__(cls: typing.Type[DoubleTappedRoutedEventArgs]) -> DoubleTappedRoutedEventArgs: ...
111
+ def get_position(self, relative_to: typing.Optional[windows_ui_xaml.UIElement], /) -> windows_foundation.Point: ...
112
+ @_property
113
+ def handled(self) -> bool: ...
114
+ @handled.setter
115
+ def handled(self, value: bool) -> None: ...
116
+ @_property
117
+ def pointer_device_type(self) -> windows_devices_input.PointerDeviceType: ...
118
+ @_property
119
+ def original_source(self) -> typing.Optional[winrt.system.Object]: ...
120
+
121
+ @typing.final
122
+ class ExecuteRequestedEventArgs(winrt.system.Object):
123
+ @staticmethod
124
+ def _from(obj: winrt.system.Object, /) -> ExecuteRequestedEventArgs: ...
125
+ @_property
126
+ def parameter(self) -> typing.Optional[winrt.system.Object]: ...
127
+
128
+ @typing.final
129
+ class FindNextElementOptions(winrt.system.Object):
130
+ @staticmethod
131
+ def _from(obj: winrt.system.Object, /) -> FindNextElementOptions: ...
132
+ def __new__(cls: typing.Type[FindNextElementOptions]) -> FindNextElementOptions: ...
133
+ @_property
134
+ def x_y_focus_navigation_strategy_override(self) -> XYFocusNavigationStrategyOverride: ...
135
+ @x_y_focus_navigation_strategy_override.setter
136
+ def x_y_focus_navigation_strategy_override(self, value: XYFocusNavigationStrategyOverride) -> None: ...
137
+ @_property
138
+ def search_root(self) -> typing.Optional[windows_ui_xaml.DependencyObject]: ...
139
+ @search_root.setter
140
+ def search_root(self, value: typing.Optional[windows_ui_xaml.DependencyObject]) -> None: ...
141
+ @_property
142
+ def hint_rect(self) -> windows_foundation.Rect: ...
143
+ @hint_rect.setter
144
+ def hint_rect(self, value: windows_foundation.Rect) -> None: ...
145
+ @_property
146
+ def exclusion_rect(self) -> windows_foundation.Rect: ...
147
+ @exclusion_rect.setter
148
+ def exclusion_rect(self, value: windows_foundation.Rect) -> None: ...
149
+
150
+ @typing.final
151
+ class FocusManager_Static(type):
152
+ def find_first_focusable_element(cls, search_scope: typing.Optional[windows_ui_xaml.DependencyObject], /) -> typing.Optional[windows_ui_xaml.DependencyObject]: ...
153
+ def find_last_focusable_element(cls, search_scope: typing.Optional[windows_ui_xaml.DependencyObject], /) -> typing.Optional[windows_ui_xaml.DependencyObject]: ...
154
+ @typing.overload
155
+ def find_next_element(cls, focus_navigation_direction: FocusNavigationDirection, /) -> typing.Optional[windows_ui_xaml.DependencyObject]: ...
156
+ @typing.overload
157
+ def find_next_element(cls, focus_navigation_direction: FocusNavigationDirection, focus_navigation_options: typing.Optional[FindNextElementOptions], /) -> typing.Optional[windows_ui_xaml.DependencyObject]: ...
158
+ @typing.overload
159
+ def find_next_focusable_element(cls, focus_navigation_direction: FocusNavigationDirection, /) -> typing.Optional[windows_ui_xaml.UIElement]: ...
160
+ @typing.overload
161
+ def find_next_focusable_element(cls, focus_navigation_direction: FocusNavigationDirection, hint_rect: windows_foundation.Rect, /) -> typing.Optional[windows_ui_xaml.UIElement]: ...
162
+ @typing.overload
163
+ def get_focused_element(cls) -> typing.Optional[winrt.system.Object]: ...
164
+ @typing.overload
165
+ def get_focused_element(cls, xaml_root: typing.Optional[windows_ui_xaml.XamlRoot], /) -> typing.Optional[winrt.system.Object]: ...
166
+ def try_focus_async(cls, element: typing.Optional[windows_ui_xaml.DependencyObject], value: windows_ui_xaml.FocusState, /) -> windows_foundation.IAsyncOperation[FocusMovementResult]: ...
167
+ @typing.overload
168
+ def try_move_focus(cls, focus_navigation_direction: FocusNavigationDirection, /) -> bool: ...
169
+ @typing.overload
170
+ def try_move_focus(cls, focus_navigation_direction: FocusNavigationDirection, focus_navigation_options: typing.Optional[FindNextElementOptions], /) -> bool: ...
171
+ @typing.overload
172
+ def try_move_focus_async(cls, focus_navigation_direction: FocusNavigationDirection, /) -> windows_foundation.IAsyncOperation[FocusMovementResult]: ...
173
+ @typing.overload
174
+ def try_move_focus_async(cls, focus_navigation_direction: FocusNavigationDirection, focus_navigation_options: typing.Optional[FindNextElementOptions], /) -> windows_foundation.IAsyncOperation[FocusMovementResult]: ...
175
+ def add_getting_focus(cls, handler: windows_foundation.EventHandler[GettingFocusEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
176
+ def remove_getting_focus(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
177
+ def add_got_focus(cls, handler: windows_foundation.EventHandler[FocusManagerGotFocusEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
178
+ def remove_got_focus(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
179
+ def add_losing_focus(cls, handler: windows_foundation.EventHandler[LosingFocusEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
180
+ def remove_losing_focus(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
181
+ def add_lost_focus(cls, handler: windows_foundation.EventHandler[FocusManagerLostFocusEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
182
+ def remove_lost_focus(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
183
+
184
+ @typing.final
185
+ class FocusManager(winrt.system.Object, metaclass=FocusManager_Static):
186
+ @staticmethod
187
+ def _from(obj: winrt.system.Object, /) -> FocusManager: ...
188
+
189
+ @typing.final
190
+ class FocusManagerGotFocusEventArgs(winrt.system.Object):
191
+ @staticmethod
192
+ def _from(obj: winrt.system.Object, /) -> FocusManagerGotFocusEventArgs: ...
193
+ @_property
194
+ def correlation_id(self) -> _uuid.UUID: ...
195
+ @_property
196
+ def new_focused_element(self) -> typing.Optional[windows_ui_xaml.DependencyObject]: ...
197
+
198
+ @typing.final
199
+ class FocusManagerLostFocusEventArgs(winrt.system.Object):
200
+ @staticmethod
201
+ def _from(obj: winrt.system.Object, /) -> FocusManagerLostFocusEventArgs: ...
202
+ @_property
203
+ def correlation_id(self) -> _uuid.UUID: ...
204
+ @_property
205
+ def old_focused_element(self) -> typing.Optional[windows_ui_xaml.DependencyObject]: ...
206
+
207
+ @typing.final
208
+ class FocusMovementResult(winrt.system.Object):
209
+ @staticmethod
210
+ def _from(obj: winrt.system.Object, /) -> FocusMovementResult: ...
211
+ @_property
212
+ def succeeded(self) -> bool: ...
213
+
214
+ @typing.final
215
+ class GettingFocusEventArgs(winrt.system.Object):
216
+ @staticmethod
217
+ def _from(obj: winrt.system.Object, /) -> GettingFocusEventArgs: ...
218
+ def try_cancel(self) -> bool: ...
219
+ def try_set_new_focused_element(self, element: typing.Optional[windows_ui_xaml.DependencyObject], /) -> bool: ...
220
+ @_property
221
+ def new_focused_element(self) -> typing.Optional[windows_ui_xaml.DependencyObject]: ...
222
+ @new_focused_element.setter
223
+ def new_focused_element(self, value: typing.Optional[windows_ui_xaml.DependencyObject]) -> None: ...
224
+ @_property
225
+ def handled(self) -> bool: ...
226
+ @handled.setter
227
+ def handled(self, value: bool) -> None: ...
228
+ @_property
229
+ def cancel(self) -> bool: ...
230
+ @cancel.setter
231
+ def cancel(self, value: bool) -> None: ...
232
+ @_property
233
+ def direction(self) -> FocusNavigationDirection: ...
234
+ @_property
235
+ def focus_state(self) -> windows_ui_xaml.FocusState: ...
236
+ @_property
237
+ def input_device(self) -> FocusInputDeviceKind: ...
238
+ @_property
239
+ def old_focused_element(self) -> typing.Optional[windows_ui_xaml.DependencyObject]: ...
240
+ @_property
241
+ def correlation_id(self) -> _uuid.UUID: ...
242
+ @_property
243
+ def original_source(self) -> typing.Optional[winrt.system.Object]: ...
244
+
245
+ @typing.final
246
+ class HoldingRoutedEventArgs(winrt.system.Object):
247
+ @staticmethod
248
+ def _from(obj: winrt.system.Object, /) -> HoldingRoutedEventArgs: ...
249
+ def __new__(cls: typing.Type[HoldingRoutedEventArgs]) -> HoldingRoutedEventArgs: ...
250
+ def get_position(self, relative_to: typing.Optional[windows_ui_xaml.UIElement], /) -> windows_foundation.Point: ...
251
+ @_property
252
+ def handled(self) -> bool: ...
253
+ @handled.setter
254
+ def handled(self, value: bool) -> None: ...
255
+ @_property
256
+ def holding_state(self) -> windows_ui_input.HoldingState: ...
257
+ @_property
258
+ def pointer_device_type(self) -> windows_devices_input.PointerDeviceType: ...
259
+ @_property
260
+ def original_source(self) -> typing.Optional[winrt.system.Object]: ...
261
+
262
+ @typing.final
263
+ class InertiaExpansionBehavior(winrt.system.Object):
264
+ @staticmethod
265
+ def _from(obj: winrt.system.Object, /) -> InertiaExpansionBehavior: ...
266
+ @_property
267
+ def desired_expansion(self) -> winrt.system.Double: ...
268
+ @desired_expansion.setter
269
+ def desired_expansion(self, value: winrt.system.Double) -> None: ...
270
+ @_property
271
+ def desired_deceleration(self) -> winrt.system.Double: ...
272
+ @desired_deceleration.setter
273
+ def desired_deceleration(self, value: winrt.system.Double) -> None: ...
274
+
275
+ @typing.final
276
+ class InertiaRotationBehavior(winrt.system.Object):
277
+ @staticmethod
278
+ def _from(obj: winrt.system.Object, /) -> InertiaRotationBehavior: ...
279
+ @_property
280
+ def desired_rotation(self) -> winrt.system.Double: ...
281
+ @desired_rotation.setter
282
+ def desired_rotation(self, value: winrt.system.Double) -> None: ...
283
+ @_property
284
+ def desired_deceleration(self) -> winrt.system.Double: ...
285
+ @desired_deceleration.setter
286
+ def desired_deceleration(self, value: winrt.system.Double) -> None: ...
287
+
288
+ @typing.final
289
+ class InertiaTranslationBehavior(winrt.system.Object):
290
+ @staticmethod
291
+ def _from(obj: winrt.system.Object, /) -> InertiaTranslationBehavior: ...
292
+ @_property
293
+ def desired_displacement(self) -> winrt.system.Double: ...
294
+ @desired_displacement.setter
295
+ def desired_displacement(self, value: winrt.system.Double) -> None: ...
296
+ @_property
297
+ def desired_deceleration(self) -> winrt.system.Double: ...
298
+ @desired_deceleration.setter
299
+ def desired_deceleration(self, value: winrt.system.Double) -> None: ...
300
+
301
+ @typing.final
302
+ class InputScope(winrt.system.Object):
303
+ @staticmethod
304
+ def _from(obj: winrt.system.Object, /) -> InputScope: ...
305
+ def __new__(cls: typing.Type[InputScope]) -> InputScope: ...
306
+ def clear_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> None: ...
307
+ def get_animation_base_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> typing.Optional[winrt.system.Object]: ...
308
+ def get_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> typing.Optional[winrt.system.Object]: ...
309
+ def read_local_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> typing.Optional[winrt.system.Object]: ...
310
+ def register_property_changed_callback(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], callback: typing.Optional[windows_ui_xaml.DependencyPropertyChangedCallback], /) -> winrt.system.Int64: ...
311
+ def set_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], value: typing.Optional[winrt.system.Object], /) -> None: ...
312
+ def unregister_property_changed_callback(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], token: winrt.system.Int64, /) -> None: ...
313
+ @_property
314
+ def names(self) -> typing.Optional[windows_foundation_collections.IVector[InputScopeName]]: ...
315
+ @_property
316
+ def dispatcher(self) -> typing.Optional[windows_ui_core.CoreDispatcher]: ...
317
+
318
+ @typing.final
319
+ class InputScopeName(winrt.system.Object):
320
+ @staticmethod
321
+ def _from(obj: winrt.system.Object, /) -> InputScopeName: ...
322
+ @typing.overload
323
+ def __new__(cls: typing.Type[InputScopeName], name_value: InputScopeNameValue) -> InputScopeName: ...
324
+ @typing.overload
325
+ def __new__(cls: typing.Type[InputScopeName]) -> InputScopeName: ...
326
+ def clear_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> None: ...
327
+ def get_animation_base_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> typing.Optional[winrt.system.Object]: ...
328
+ def get_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> typing.Optional[winrt.system.Object]: ...
329
+ def read_local_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> typing.Optional[winrt.system.Object]: ...
330
+ def register_property_changed_callback(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], callback: typing.Optional[windows_ui_xaml.DependencyPropertyChangedCallback], /) -> winrt.system.Int64: ...
331
+ def set_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], value: typing.Optional[winrt.system.Object], /) -> None: ...
332
+ def unregister_property_changed_callback(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], token: winrt.system.Int64, /) -> None: ...
333
+ @_property
334
+ def name_value(self) -> InputScopeNameValue: ...
335
+ @name_value.setter
336
+ def name_value(self, value: InputScopeNameValue) -> None: ...
337
+ @_property
338
+ def dispatcher(self) -> typing.Optional[windows_ui_core.CoreDispatcher]: ...
339
+
340
+ @typing.final
341
+ class KeyRoutedEventArgs(winrt.system.Object):
342
+ @staticmethod
343
+ def _from(obj: winrt.system.Object, /) -> KeyRoutedEventArgs: ...
344
+ @_property
345
+ def handled(self) -> bool: ...
346
+ @handled.setter
347
+ def handled(self, value: bool) -> None: ...
348
+ @_property
349
+ def key(self) -> windows_system.VirtualKey: ...
350
+ @_property
351
+ def key_status(self) -> windows_ui_core.CorePhysicalKeyStatus: ...
352
+ @_property
353
+ def original_key(self) -> windows_system.VirtualKey: ...
354
+ @_property
355
+ def device_id(self) -> str: ...
356
+ @_property
357
+ def original_source(self) -> typing.Optional[winrt.system.Object]: ...
358
+
359
+ @typing.final
360
+ class KeyboardAccelerator_Static(type):
361
+ @_property
362
+ def is_enabled_property(cls) -> typing.Optional[windows_ui_xaml.DependencyProperty]: ...
363
+ @_property
364
+ def key_property(cls) -> typing.Optional[windows_ui_xaml.DependencyProperty]: ...
365
+ @_property
366
+ def modifiers_property(cls) -> typing.Optional[windows_ui_xaml.DependencyProperty]: ...
367
+ @_property
368
+ def scope_owner_property(cls) -> typing.Optional[windows_ui_xaml.DependencyProperty]: ...
369
+
370
+ @typing.final
371
+ class KeyboardAccelerator(winrt.system.Object, metaclass=KeyboardAccelerator_Static):
372
+ @staticmethod
373
+ def _from(obj: winrt.system.Object, /) -> KeyboardAccelerator: ...
374
+ def __new__(cls: typing.Type[KeyboardAccelerator]) -> KeyboardAccelerator: ...
375
+ def clear_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> None: ...
376
+ def get_animation_base_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> typing.Optional[winrt.system.Object]: ...
377
+ def get_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> typing.Optional[winrt.system.Object]: ...
378
+ def read_local_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> typing.Optional[winrt.system.Object]: ...
379
+ def register_property_changed_callback(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], callback: typing.Optional[windows_ui_xaml.DependencyPropertyChangedCallback], /) -> winrt.system.Int64: ...
380
+ def set_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], value: typing.Optional[winrt.system.Object], /) -> None: ...
381
+ def unregister_property_changed_callback(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], token: winrt.system.Int64, /) -> None: ...
382
+ def add_invoked(self, handler: windows_foundation.TypedEventHandler[KeyboardAccelerator, KeyboardAcceleratorInvokedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
383
+ def remove_invoked(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
384
+ @_property
385
+ def scope_owner(self) -> typing.Optional[windows_ui_xaml.DependencyObject]: ...
386
+ @scope_owner.setter
387
+ def scope_owner(self, value: typing.Optional[windows_ui_xaml.DependencyObject]) -> None: ...
388
+ @_property
389
+ def modifiers(self) -> windows_system.VirtualKeyModifiers: ...
390
+ @modifiers.setter
391
+ def modifiers(self, value: windows_system.VirtualKeyModifiers) -> None: ...
392
+ @_property
393
+ def key(self) -> windows_system.VirtualKey: ...
394
+ @key.setter
395
+ def key(self, value: windows_system.VirtualKey) -> None: ...
396
+ @_property
397
+ def is_enabled(self) -> bool: ...
398
+ @is_enabled.setter
399
+ def is_enabled(self, value: bool) -> None: ...
400
+ @_property
401
+ def dispatcher(self) -> typing.Optional[windows_ui_core.CoreDispatcher]: ...
402
+
403
+ @typing.final
404
+ class KeyboardAcceleratorInvokedEventArgs(winrt.system.Object):
405
+ @staticmethod
406
+ def _from(obj: winrt.system.Object, /) -> KeyboardAcceleratorInvokedEventArgs: ...
407
+ @_property
408
+ def handled(self) -> bool: ...
409
+ @handled.setter
410
+ def handled(self, value: bool) -> None: ...
411
+ @_property
412
+ def element(self) -> typing.Optional[windows_ui_xaml.DependencyObject]: ...
413
+ @_property
414
+ def keyboard_accelerator(self) -> typing.Optional[KeyboardAccelerator]: ...
415
+
416
+ @typing.final
417
+ class LosingFocusEventArgs(winrt.system.Object):
418
+ @staticmethod
419
+ def _from(obj: winrt.system.Object, /) -> LosingFocusEventArgs: ...
420
+ def try_cancel(self) -> bool: ...
421
+ def try_set_new_focused_element(self, element: typing.Optional[windows_ui_xaml.DependencyObject], /) -> bool: ...
422
+ @_property
423
+ def new_focused_element(self) -> typing.Optional[windows_ui_xaml.DependencyObject]: ...
424
+ @new_focused_element.setter
425
+ def new_focused_element(self, value: typing.Optional[windows_ui_xaml.DependencyObject]) -> None: ...
426
+ @_property
427
+ def handled(self) -> bool: ...
428
+ @handled.setter
429
+ def handled(self, value: bool) -> None: ...
430
+ @_property
431
+ def cancel(self) -> bool: ...
432
+ @cancel.setter
433
+ def cancel(self, value: bool) -> None: ...
434
+ @_property
435
+ def direction(self) -> FocusNavigationDirection: ...
436
+ @_property
437
+ def focus_state(self) -> windows_ui_xaml.FocusState: ...
438
+ @_property
439
+ def input_device(self) -> FocusInputDeviceKind: ...
440
+ @_property
441
+ def old_focused_element(self) -> typing.Optional[windows_ui_xaml.DependencyObject]: ...
442
+ @_property
443
+ def correlation_id(self) -> _uuid.UUID: ...
444
+ @_property
445
+ def original_source(self) -> typing.Optional[winrt.system.Object]: ...
446
+
447
+ @typing.final
448
+ class ManipulationCompletedRoutedEventArgs(winrt.system.Object):
449
+ @staticmethod
450
+ def _from(obj: winrt.system.Object, /) -> ManipulationCompletedRoutedEventArgs: ...
451
+ def __new__(cls: typing.Type[ManipulationCompletedRoutedEventArgs]) -> ManipulationCompletedRoutedEventArgs: ...
452
+ @_property
453
+ def handled(self) -> bool: ...
454
+ @handled.setter
455
+ def handled(self, value: bool) -> None: ...
456
+ @_property
457
+ def container(self) -> typing.Optional[windows_ui_xaml.UIElement]: ...
458
+ @_property
459
+ def cumulative(self) -> windows_ui_input.ManipulationDelta: ...
460
+ @_property
461
+ def is_inertial(self) -> bool: ...
462
+ @_property
463
+ def pointer_device_type(self) -> windows_devices_input.PointerDeviceType: ...
464
+ @_property
465
+ def position(self) -> windows_foundation.Point: ...
466
+ @_property
467
+ def velocities(self) -> windows_ui_input.ManipulationVelocities: ...
468
+ @_property
469
+ def original_source(self) -> typing.Optional[winrt.system.Object]: ...
470
+
471
+ @typing.final
472
+ class ManipulationDeltaRoutedEventArgs(winrt.system.Object):
473
+ @staticmethod
474
+ def _from(obj: winrt.system.Object, /) -> ManipulationDeltaRoutedEventArgs: ...
475
+ def __new__(cls: typing.Type[ManipulationDeltaRoutedEventArgs]) -> ManipulationDeltaRoutedEventArgs: ...
476
+ def complete(self) -> None: ...
477
+ @_property
478
+ def handled(self) -> bool: ...
479
+ @handled.setter
480
+ def handled(self, value: bool) -> None: ...
481
+ @_property
482
+ def container(self) -> typing.Optional[windows_ui_xaml.UIElement]: ...
483
+ @_property
484
+ def cumulative(self) -> windows_ui_input.ManipulationDelta: ...
485
+ @_property
486
+ def delta(self) -> windows_ui_input.ManipulationDelta: ...
487
+ @_property
488
+ def is_inertial(self) -> bool: ...
489
+ @_property
490
+ def pointer_device_type(self) -> windows_devices_input.PointerDeviceType: ...
491
+ @_property
492
+ def position(self) -> windows_foundation.Point: ...
493
+ @_property
494
+ def velocities(self) -> windows_ui_input.ManipulationVelocities: ...
495
+ @_property
496
+ def original_source(self) -> typing.Optional[winrt.system.Object]: ...
497
+
498
+ @typing.final
499
+ class ManipulationInertiaStartingRoutedEventArgs(winrt.system.Object):
500
+ @staticmethod
501
+ def _from(obj: winrt.system.Object, /) -> ManipulationInertiaStartingRoutedEventArgs: ...
502
+ def __new__(cls: typing.Type[ManipulationInertiaStartingRoutedEventArgs]) -> ManipulationInertiaStartingRoutedEventArgs: ...
503
+ @_property
504
+ def translation_behavior(self) -> typing.Optional[InertiaTranslationBehavior]: ...
505
+ @translation_behavior.setter
506
+ def translation_behavior(self, value: typing.Optional[InertiaTranslationBehavior]) -> None: ...
507
+ @_property
508
+ def rotation_behavior(self) -> typing.Optional[InertiaRotationBehavior]: ...
509
+ @rotation_behavior.setter
510
+ def rotation_behavior(self, value: typing.Optional[InertiaRotationBehavior]) -> None: ...
511
+ @_property
512
+ def handled(self) -> bool: ...
513
+ @handled.setter
514
+ def handled(self, value: bool) -> None: ...
515
+ @_property
516
+ def expansion_behavior(self) -> typing.Optional[InertiaExpansionBehavior]: ...
517
+ @expansion_behavior.setter
518
+ def expansion_behavior(self, value: typing.Optional[InertiaExpansionBehavior]) -> None: ...
519
+ @_property
520
+ def container(self) -> typing.Optional[windows_ui_xaml.UIElement]: ...
521
+ @_property
522
+ def cumulative(self) -> windows_ui_input.ManipulationDelta: ...
523
+ @_property
524
+ def delta(self) -> windows_ui_input.ManipulationDelta: ...
525
+ @_property
526
+ def pointer_device_type(self) -> windows_devices_input.PointerDeviceType: ...
527
+ @_property
528
+ def velocities(self) -> windows_ui_input.ManipulationVelocities: ...
529
+ @_property
530
+ def original_source(self) -> typing.Optional[winrt.system.Object]: ...
531
+
532
+ @typing.final
533
+ class ManipulationPivot(winrt.system.Object):
534
+ @staticmethod
535
+ def _from(obj: winrt.system.Object, /) -> ManipulationPivot: ...
536
+ @typing.overload
537
+ def __new__(cls: typing.Type[ManipulationPivot], center: windows_foundation.Point, radius: winrt.system.Double) -> ManipulationPivot: ...
538
+ @typing.overload
539
+ def __new__(cls: typing.Type[ManipulationPivot]) -> ManipulationPivot: ...
540
+ @_property
541
+ def radius(self) -> winrt.system.Double: ...
542
+ @radius.setter
543
+ def radius(self, value: winrt.system.Double) -> None: ...
544
+ @_property
545
+ def center(self) -> windows_foundation.Point: ...
546
+ @center.setter
547
+ def center(self, value: windows_foundation.Point) -> None: ...
548
+
549
+ @typing.final
550
+ class ManipulationStartedRoutedEventArgs(winrt.system.Object):
551
+ @staticmethod
552
+ def _from(obj: winrt.system.Object, /) -> ManipulationStartedRoutedEventArgs: ...
553
+ def __new__(cls: typing.Type[ManipulationStartedRoutedEventArgs]) -> ManipulationStartedRoutedEventArgs: ...
554
+ def complete(self) -> None: ...
555
+ @_property
556
+ def handled(self) -> bool: ...
557
+ @handled.setter
558
+ def handled(self, value: bool) -> None: ...
559
+ @_property
560
+ def container(self) -> typing.Optional[windows_ui_xaml.UIElement]: ...
561
+ @_property
562
+ def cumulative(self) -> windows_ui_input.ManipulationDelta: ...
563
+ @_property
564
+ def pointer_device_type(self) -> windows_devices_input.PointerDeviceType: ...
565
+ @_property
566
+ def position(self) -> windows_foundation.Point: ...
567
+ @_property
568
+ def original_source(self) -> typing.Optional[winrt.system.Object]: ...
569
+
570
+ @typing.final
571
+ class ManipulationStartingRoutedEventArgs(winrt.system.Object):
572
+ @staticmethod
573
+ def _from(obj: winrt.system.Object, /) -> ManipulationStartingRoutedEventArgs: ...
574
+ def __new__(cls: typing.Type[ManipulationStartingRoutedEventArgs]) -> ManipulationStartingRoutedEventArgs: ...
575
+ @_property
576
+ def pivot(self) -> typing.Optional[ManipulationPivot]: ...
577
+ @pivot.setter
578
+ def pivot(self, value: typing.Optional[ManipulationPivot]) -> None: ...
579
+ @_property
580
+ def mode(self) -> ManipulationModes: ...
581
+ @mode.setter
582
+ def mode(self, value: ManipulationModes) -> None: ...
583
+ @_property
584
+ def handled(self) -> bool: ...
585
+ @handled.setter
586
+ def handled(self, value: bool) -> None: ...
587
+ @_property
588
+ def container(self) -> typing.Optional[windows_ui_xaml.UIElement]: ...
589
+ @container.setter
590
+ def container(self, value: typing.Optional[windows_ui_xaml.UIElement]) -> None: ...
591
+ @_property
592
+ def original_source(self) -> typing.Optional[winrt.system.Object]: ...
593
+
594
+ @typing.final
595
+ class NoFocusCandidateFoundEventArgs(winrt.system.Object):
596
+ @staticmethod
597
+ def _from(obj: winrt.system.Object, /) -> NoFocusCandidateFoundEventArgs: ...
598
+ @_property
599
+ def handled(self) -> bool: ...
600
+ @handled.setter
601
+ def handled(self, value: bool) -> None: ...
602
+ @_property
603
+ def direction(self) -> FocusNavigationDirection: ...
604
+ @_property
605
+ def input_device(self) -> FocusInputDeviceKind: ...
606
+ @_property
607
+ def original_source(self) -> typing.Optional[winrt.system.Object]: ...
608
+
609
+ @typing.final
610
+ class Pointer(winrt.system.Object):
611
+ @staticmethod
612
+ def _from(obj: winrt.system.Object, /) -> Pointer: ...
613
+ @_property
614
+ def is_in_contact(self) -> bool: ...
615
+ @_property
616
+ def is_in_range(self) -> bool: ...
617
+ @_property
618
+ def pointer_device_type(self) -> windows_devices_input.PointerDeviceType: ...
619
+ @_property
620
+ def pointer_id(self) -> winrt.system.UInt32: ...
621
+
622
+ @typing.final
623
+ class PointerRoutedEventArgs(winrt.system.Object):
624
+ @staticmethod
625
+ def _from(obj: winrt.system.Object, /) -> PointerRoutedEventArgs: ...
626
+ def get_current_point(self, relative_to: typing.Optional[windows_ui_xaml.UIElement], /) -> typing.Optional[windows_ui_input.PointerPoint]: ...
627
+ def get_intermediate_points(self, relative_to: typing.Optional[windows_ui_xaml.UIElement], /) -> typing.Optional[windows_foundation_collections.IVector[windows_ui_input.PointerPoint]]: ...
628
+ @_property
629
+ def handled(self) -> bool: ...
630
+ @handled.setter
631
+ def handled(self, value: bool) -> None: ...
632
+ @_property
633
+ def key_modifiers(self) -> windows_system.VirtualKeyModifiers: ...
634
+ @_property
635
+ def pointer(self) -> typing.Optional[Pointer]: ...
636
+ @_property
637
+ def is_generated(self) -> bool: ...
638
+ @_property
639
+ def original_source(self) -> typing.Optional[winrt.system.Object]: ...
640
+
641
+ @typing.final
642
+ class ProcessKeyboardAcceleratorEventArgs(winrt.system.Object):
643
+ @staticmethod
644
+ def _from(obj: winrt.system.Object, /) -> ProcessKeyboardAcceleratorEventArgs: ...
645
+ @_property
646
+ def handled(self) -> bool: ...
647
+ @handled.setter
648
+ def handled(self, value: bool) -> None: ...
649
+ @_property
650
+ def key(self) -> windows_system.VirtualKey: ...
651
+ @_property
652
+ def modifiers(self) -> windows_system.VirtualKeyModifiers: ...
653
+
654
+ @typing.final
655
+ class RightTappedRoutedEventArgs(winrt.system.Object):
656
+ @staticmethod
657
+ def _from(obj: winrt.system.Object, /) -> RightTappedRoutedEventArgs: ...
658
+ def __new__(cls: typing.Type[RightTappedRoutedEventArgs]) -> RightTappedRoutedEventArgs: ...
659
+ def get_position(self, relative_to: typing.Optional[windows_ui_xaml.UIElement], /) -> windows_foundation.Point: ...
660
+ @_property
661
+ def handled(self) -> bool: ...
662
+ @handled.setter
663
+ def handled(self, value: bool) -> None: ...
664
+ @_property
665
+ def pointer_device_type(self) -> windows_devices_input.PointerDeviceType: ...
666
+ @_property
667
+ def original_source(self) -> typing.Optional[winrt.system.Object]: ...
668
+
669
+ @typing.final
670
+ class StandardUICommand_Static(type):
671
+ @_property
672
+ def kind_property(cls) -> typing.Optional[windows_ui_xaml.DependencyProperty]: ...
673
+
674
+ @typing.final
675
+ class StandardUICommand(winrt.system.Object, metaclass=StandardUICommand_Static):
676
+ @staticmethod
677
+ def _from(obj: winrt.system.Object, /) -> StandardUICommand: ...
678
+ @typing.overload
679
+ def __new__(cls: typing.Type[StandardUICommand]) -> StandardUICommand: ...
680
+ @typing.overload
681
+ def __new__(cls: typing.Type[StandardUICommand], kind: StandardUICommandKind) -> StandardUICommand: ...
682
+ def can_execute(self, parameter: typing.Optional[winrt.system.Object], /) -> bool: ...
683
+ def clear_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> None: ...
684
+ def execute(self, parameter: typing.Optional[winrt.system.Object], /) -> None: ...
685
+ def get_animation_base_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> typing.Optional[winrt.system.Object]: ...
686
+ def get_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> typing.Optional[winrt.system.Object]: ...
687
+ def notify_can_execute_changed(self) -> None: ...
688
+ def read_local_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> typing.Optional[winrt.system.Object]: ...
689
+ def register_property_changed_callback(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], callback: typing.Optional[windows_ui_xaml.DependencyPropertyChangedCallback], /) -> winrt.system.Int64: ...
690
+ def set_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], value: typing.Optional[winrt.system.Object], /) -> None: ...
691
+ def unregister_property_changed_callback(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], token: winrt.system.Int64, /) -> None: ...
692
+ def add_can_execute_requested(self, handler: windows_foundation.TypedEventHandler[XamlUICommand, CanExecuteRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
693
+ def remove_can_execute_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
694
+ def add_execute_requested(self, handler: windows_foundation.TypedEventHandler[XamlUICommand, ExecuteRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
695
+ def remove_execute_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
696
+ def add_can_execute_changed(self, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
697
+ def remove_can_execute_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
698
+ @_property
699
+ def kind(self) -> StandardUICommandKind: ...
700
+ @kind.setter
701
+ def kind(self, value: StandardUICommandKind) -> None: ...
702
+ @_property
703
+ def label(self) -> str: ...
704
+ @label.setter
705
+ def label(self, value: str) -> None: ...
706
+ @_property
707
+ def icon_source(self) -> typing.Optional[windows_ui_xaml_controls.IconSource]: ...
708
+ @icon_source.setter
709
+ def icon_source(self, value: typing.Optional[windows_ui_xaml_controls.IconSource]) -> None: ...
710
+ @_property
711
+ def description(self) -> str: ...
712
+ @description.setter
713
+ def description(self, value: str) -> None: ...
714
+ @_property
715
+ def command(self) -> typing.Optional[ICommand]: ...
716
+ @command.setter
717
+ def command(self, value: typing.Optional[ICommand]) -> None: ...
718
+ @_property
719
+ def access_key(self) -> str: ...
720
+ @access_key.setter
721
+ def access_key(self, value: str) -> None: ...
722
+ @_property
723
+ def keyboard_accelerators(self) -> typing.Optional[windows_foundation_collections.IVector[KeyboardAccelerator]]: ...
724
+ @_property
725
+ def dispatcher(self) -> typing.Optional[windows_ui_core.CoreDispatcher]: ...
726
+
727
+ @typing.final
728
+ class TappedRoutedEventArgs(winrt.system.Object):
729
+ @staticmethod
730
+ def _from(obj: winrt.system.Object, /) -> TappedRoutedEventArgs: ...
731
+ def __new__(cls: typing.Type[TappedRoutedEventArgs]) -> TappedRoutedEventArgs: ...
732
+ def get_position(self, relative_to: typing.Optional[windows_ui_xaml.UIElement], /) -> windows_foundation.Point: ...
733
+ @_property
734
+ def handled(self) -> bool: ...
735
+ @handled.setter
736
+ def handled(self, value: bool) -> None: ...
737
+ @_property
738
+ def pointer_device_type(self) -> windows_devices_input.PointerDeviceType: ...
739
+ @_property
740
+ def original_source(self) -> typing.Optional[winrt.system.Object]: ...
741
+
742
+ @typing.final
743
+ class XamlUICommand_Static(type):
744
+ @_property
745
+ def access_key_property(cls) -> typing.Optional[windows_ui_xaml.DependencyProperty]: ...
746
+ @_property
747
+ def command_property(cls) -> typing.Optional[windows_ui_xaml.DependencyProperty]: ...
748
+ @_property
749
+ def description_property(cls) -> typing.Optional[windows_ui_xaml.DependencyProperty]: ...
750
+ @_property
751
+ def icon_source_property(cls) -> typing.Optional[windows_ui_xaml.DependencyProperty]: ...
752
+ @_property
753
+ def keyboard_accelerators_property(cls) -> typing.Optional[windows_ui_xaml.DependencyProperty]: ...
754
+ @_property
755
+ def label_property(cls) -> typing.Optional[windows_ui_xaml.DependencyProperty]: ...
756
+
757
+ @typing.final
758
+ class XamlUICommand(winrt.system.Object, metaclass=XamlUICommand_Static):
759
+ @staticmethod
760
+ def _from(obj: winrt.system.Object, /) -> XamlUICommand: ...
761
+ def __new__(cls: typing.Type[XamlUICommand]) -> XamlUICommand: ...
762
+ def can_execute(self, parameter: typing.Optional[winrt.system.Object], /) -> bool: ...
763
+ def clear_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> None: ...
764
+ def execute(self, parameter: typing.Optional[winrt.system.Object], /) -> None: ...
765
+ def get_animation_base_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> typing.Optional[winrt.system.Object]: ...
766
+ def get_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> typing.Optional[winrt.system.Object]: ...
767
+ def notify_can_execute_changed(self) -> None: ...
768
+ def read_local_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], /) -> typing.Optional[winrt.system.Object]: ...
769
+ def register_property_changed_callback(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], callback: typing.Optional[windows_ui_xaml.DependencyPropertyChangedCallback], /) -> winrt.system.Int64: ...
770
+ def set_value(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], value: typing.Optional[winrt.system.Object], /) -> None: ...
771
+ def unregister_property_changed_callback(self, dp: typing.Optional[windows_ui_xaml.DependencyProperty], token: winrt.system.Int64, /) -> None: ...
772
+ def add_can_execute_requested(self, handler: windows_foundation.TypedEventHandler[XamlUICommand, CanExecuteRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
773
+ def remove_can_execute_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
774
+ def add_execute_requested(self, handler: windows_foundation.TypedEventHandler[XamlUICommand, ExecuteRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
775
+ def remove_execute_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
776
+ def add_can_execute_changed(self, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
777
+ def remove_can_execute_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
778
+ @_property
779
+ def label(self) -> str: ...
780
+ @label.setter
781
+ def label(self, value: str) -> None: ...
782
+ @_property
783
+ def icon_source(self) -> typing.Optional[windows_ui_xaml_controls.IconSource]: ...
784
+ @icon_source.setter
785
+ def icon_source(self, value: typing.Optional[windows_ui_xaml_controls.IconSource]) -> None: ...
786
+ @_property
787
+ def description(self) -> str: ...
788
+ @description.setter
789
+ def description(self, value: str) -> None: ...
790
+ @_property
791
+ def command(self) -> typing.Optional[ICommand]: ...
792
+ @command.setter
793
+ def command(self, value: typing.Optional[ICommand]) -> None: ...
794
+ @_property
795
+ def access_key(self) -> str: ...
796
+ @access_key.setter
797
+ def access_key(self, value: str) -> None: ...
798
+ @_property
799
+ def keyboard_accelerators(self) -> typing.Optional[windows_foundation_collections.IVector[KeyboardAccelerator]]: ...
800
+ @_property
801
+ def dispatcher(self) -> typing.Optional[windows_ui_core.CoreDispatcher]: ...
802
+
803
+ @typing.final
804
+ class ICommand(winrt.system.Object):
805
+ @staticmethod
806
+ def _from(obj: winrt.system.Object, /) -> ICommand: ...
807
+ def can_execute(self, parameter: typing.Optional[winrt.system.Object], /) -> bool: ...
808
+ def execute(self, parameter: typing.Optional[winrt.system.Object], /) -> None: ...
809
+ def add_can_execute_changed(self, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
810
+ def remove_can_execute_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
811
+
@@ -0,0 +1,257 @@
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_xaml_input
9
+
10
+ __all__ = [
11
+ "FocusInputDeviceKind",
12
+ "FocusNavigationDirection",
13
+ "InputScopeNameValue",
14
+ "KeyTipPlacementMode",
15
+ "KeyboardAcceleratorPlacementMode",
16
+ "KeyboardNavigationMode",
17
+ "ManipulationModes",
18
+ "StandardUICommandKind",
19
+ "XYFocusKeyboardNavigationMode",
20
+ "XYFocusNavigationStrategy",
21
+ "XYFocusNavigationStrategyOverride",
22
+ "AccessKeyDisplayDismissedEventArgs",
23
+ "AccessKeyDisplayRequestedEventArgs",
24
+ "AccessKeyInvokedEventArgs",
25
+ "AccessKeyManager",
26
+ "CanExecuteRequestedEventArgs",
27
+ "CharacterReceivedRoutedEventArgs",
28
+ "ContextRequestedEventArgs",
29
+ "DoubleTappedRoutedEventArgs",
30
+ "ExecuteRequestedEventArgs",
31
+ "FindNextElementOptions",
32
+ "FocusManager",
33
+ "FocusManagerGotFocusEventArgs",
34
+ "FocusManagerLostFocusEventArgs",
35
+ "FocusMovementResult",
36
+ "GettingFocusEventArgs",
37
+ "HoldingRoutedEventArgs",
38
+ "InertiaExpansionBehavior",
39
+ "InertiaRotationBehavior",
40
+ "InertiaTranslationBehavior",
41
+ "InputScope",
42
+ "InputScopeName",
43
+ "KeyRoutedEventArgs",
44
+ "KeyboardAccelerator",
45
+ "KeyboardAcceleratorInvokedEventArgs",
46
+ "LosingFocusEventArgs",
47
+ "ManipulationCompletedRoutedEventArgs",
48
+ "ManipulationDeltaRoutedEventArgs",
49
+ "ManipulationInertiaStartingRoutedEventArgs",
50
+ "ManipulationPivot",
51
+ "ManipulationStartedRoutedEventArgs",
52
+ "ManipulationStartingRoutedEventArgs",
53
+ "NoFocusCandidateFoundEventArgs",
54
+ "Pointer",
55
+ "PointerRoutedEventArgs",
56
+ "ProcessKeyboardAcceleratorEventArgs",
57
+ "RightTappedRoutedEventArgs",
58
+ "StandardUICommand",
59
+ "TappedRoutedEventArgs",
60
+ "XamlUICommand",
61
+ "ICommand",
62
+ "DoubleTappedEventHandler",
63
+ "HoldingEventHandler",
64
+ "KeyEventHandler",
65
+ "ManipulationCompletedEventHandler",
66
+ "ManipulationDeltaEventHandler",
67
+ "ManipulationInertiaStartingEventHandler",
68
+ "ManipulationStartedEventHandler",
69
+ "ManipulationStartingEventHandler",
70
+ "PointerEventHandler",
71
+ "RightTappedEventHandler",
72
+ "TappedEventHandler",
73
+ ]
74
+
75
+ class FocusInputDeviceKind(enum.IntEnum):
76
+ NONE = 0
77
+ MOUSE = 1
78
+ TOUCH = 2
79
+ PEN = 3
80
+ KEYBOARD = 4
81
+ GAME_CONTROLLER = 5
82
+
83
+ class FocusNavigationDirection(enum.IntEnum):
84
+ NEXT = 0
85
+ PREVIOUS = 1
86
+ UP = 2
87
+ DOWN = 3
88
+ LEFT = 4
89
+ RIGHT = 5
90
+ NONE = 6
91
+
92
+ class InputScopeNameValue(enum.IntEnum):
93
+ DEFAULT = 0
94
+ URL = 1
95
+ EMAIL_SMTP_ADDRESS = 5
96
+ PERSONAL_FULL_NAME = 7
97
+ CURRENCY_AMOUNT_AND_SYMBOL = 20
98
+ CURRENCY_AMOUNT = 21
99
+ DATE_MONTH_NUMBER = 23
100
+ DATE_DAY_NUMBER = 24
101
+ DATE_YEAR = 25
102
+ DIGITS = 28
103
+ NUMBER = 29
104
+ PASSWORD = 31
105
+ TELEPHONE_NUMBER = 32
106
+ TELEPHONE_COUNTRY_CODE = 33
107
+ TELEPHONE_AREA_CODE = 34
108
+ TELEPHONE_LOCAL_NUMBER = 35
109
+ TIME_HOUR = 37
110
+ TIME_MINUTES_OR_SECONDS = 38
111
+ NUMBER_FULL_WIDTH = 39
112
+ ALPHANUMERIC_HALF_WIDTH = 40
113
+ ALPHANUMERIC_FULL_WIDTH = 41
114
+ HIRAGANA = 44
115
+ KATAKANA_HALF_WIDTH = 45
116
+ KATAKANA_FULL_WIDTH = 46
117
+ HANJA = 47
118
+ HANGUL_HALF_WIDTH = 48
119
+ HANGUL_FULL_WIDTH = 49
120
+ SEARCH = 50
121
+ FORMULA = 51
122
+ SEARCH_INCREMENTAL = 52
123
+ CHINESE_HALF_WIDTH = 53
124
+ CHINESE_FULL_WIDTH = 54
125
+ NATIVE_SCRIPT = 55
126
+ TEXT = 57
127
+ CHAT = 58
128
+ NAME_OR_PHONE_NUMBER = 59
129
+ EMAIL_NAME_OR_ADDRESS = 60
130
+ PRIVATE = 61
131
+ MAPS = 62
132
+ NUMERIC_PASSWORD = 63
133
+ NUMERIC_PIN = 64
134
+ ALPHANUMERIC_PIN = 65
135
+ FORMULA_NUMBER = 67
136
+ CHAT_WITHOUT_EMOJI = 68
137
+
138
+ class KeyTipPlacementMode(enum.IntEnum):
139
+ AUTO = 0
140
+ BOTTOM = 1
141
+ TOP = 2
142
+ LEFT = 3
143
+ RIGHT = 4
144
+ CENTER = 5
145
+ HIDDEN = 6
146
+
147
+ class KeyboardAcceleratorPlacementMode(enum.IntEnum):
148
+ AUTO = 0
149
+ HIDDEN = 1
150
+
151
+ class KeyboardNavigationMode(enum.IntEnum):
152
+ LOCAL = 0
153
+ CYCLE = 1
154
+ ONCE = 2
155
+
156
+ class ManipulationModes(enum.IntFlag):
157
+ NONE = 0x0
158
+ TRANSLATE_X = 0x1
159
+ TRANSLATE_Y = 0x2
160
+ TRANSLATE_RAILS_X = 0x4
161
+ TRANSLATE_RAILS_Y = 0x8
162
+ ROTATE = 0x10
163
+ SCALE = 0x20
164
+ TRANSLATE_INERTIA = 0x40
165
+ ROTATE_INERTIA = 0x80
166
+ SCALE_INERTIA = 0x100
167
+ ALL = 0xFFFF
168
+ SYSTEM = 0x10000
169
+
170
+ class StandardUICommandKind(enum.IntEnum):
171
+ NONE = 0
172
+ CUT = 1
173
+ COPY = 2
174
+ PASTE = 3
175
+ SELECT_ALL = 4
176
+ DELETE = 5
177
+ SHARE = 6
178
+ SAVE = 7
179
+ OPEN = 8
180
+ CLOSE = 9
181
+ PAUSE = 10
182
+ PLAY = 11
183
+ STOP = 12
184
+ FORWARD = 13
185
+ BACKWARD = 14
186
+ UNDO = 15
187
+ REDO = 16
188
+
189
+ class XYFocusKeyboardNavigationMode(enum.IntEnum):
190
+ AUTO = 0
191
+ ENABLED = 1
192
+ DISABLED = 2
193
+
194
+ class XYFocusNavigationStrategy(enum.IntEnum):
195
+ AUTO = 0
196
+ PROJECTION = 1
197
+ NAVIGATION_DIRECTION_DISTANCE = 2
198
+ RECTILINEAR_DISTANCE = 3
199
+
200
+ class XYFocusNavigationStrategyOverride(enum.IntEnum):
201
+ NONE = 0
202
+ AUTO = 1
203
+ PROJECTION = 2
204
+ NAVIGATION_DIRECTION_DISTANCE = 3
205
+ RECTILINEAR_DISTANCE = 4
206
+
207
+ AccessKeyDisplayDismissedEventArgs = _winrt_windows_ui_xaml_input.AccessKeyDisplayDismissedEventArgs
208
+ AccessKeyDisplayRequestedEventArgs = _winrt_windows_ui_xaml_input.AccessKeyDisplayRequestedEventArgs
209
+ AccessKeyInvokedEventArgs = _winrt_windows_ui_xaml_input.AccessKeyInvokedEventArgs
210
+ AccessKeyManager = _winrt_windows_ui_xaml_input.AccessKeyManager
211
+ CanExecuteRequestedEventArgs = _winrt_windows_ui_xaml_input.CanExecuteRequestedEventArgs
212
+ CharacterReceivedRoutedEventArgs = _winrt_windows_ui_xaml_input.CharacterReceivedRoutedEventArgs
213
+ ContextRequestedEventArgs = _winrt_windows_ui_xaml_input.ContextRequestedEventArgs
214
+ DoubleTappedRoutedEventArgs = _winrt_windows_ui_xaml_input.DoubleTappedRoutedEventArgs
215
+ ExecuteRequestedEventArgs = _winrt_windows_ui_xaml_input.ExecuteRequestedEventArgs
216
+ FindNextElementOptions = _winrt_windows_ui_xaml_input.FindNextElementOptions
217
+ FocusManager = _winrt_windows_ui_xaml_input.FocusManager
218
+ FocusManagerGotFocusEventArgs = _winrt_windows_ui_xaml_input.FocusManagerGotFocusEventArgs
219
+ FocusManagerLostFocusEventArgs = _winrt_windows_ui_xaml_input.FocusManagerLostFocusEventArgs
220
+ FocusMovementResult = _winrt_windows_ui_xaml_input.FocusMovementResult
221
+ GettingFocusEventArgs = _winrt_windows_ui_xaml_input.GettingFocusEventArgs
222
+ HoldingRoutedEventArgs = _winrt_windows_ui_xaml_input.HoldingRoutedEventArgs
223
+ InertiaExpansionBehavior = _winrt_windows_ui_xaml_input.InertiaExpansionBehavior
224
+ InertiaRotationBehavior = _winrt_windows_ui_xaml_input.InertiaRotationBehavior
225
+ InertiaTranslationBehavior = _winrt_windows_ui_xaml_input.InertiaTranslationBehavior
226
+ InputScope = _winrt_windows_ui_xaml_input.InputScope
227
+ InputScopeName = _winrt_windows_ui_xaml_input.InputScopeName
228
+ KeyRoutedEventArgs = _winrt_windows_ui_xaml_input.KeyRoutedEventArgs
229
+ KeyboardAccelerator = _winrt_windows_ui_xaml_input.KeyboardAccelerator
230
+ KeyboardAcceleratorInvokedEventArgs = _winrt_windows_ui_xaml_input.KeyboardAcceleratorInvokedEventArgs
231
+ LosingFocusEventArgs = _winrt_windows_ui_xaml_input.LosingFocusEventArgs
232
+ ManipulationCompletedRoutedEventArgs = _winrt_windows_ui_xaml_input.ManipulationCompletedRoutedEventArgs
233
+ ManipulationDeltaRoutedEventArgs = _winrt_windows_ui_xaml_input.ManipulationDeltaRoutedEventArgs
234
+ ManipulationInertiaStartingRoutedEventArgs = _winrt_windows_ui_xaml_input.ManipulationInertiaStartingRoutedEventArgs
235
+ ManipulationPivot = _winrt_windows_ui_xaml_input.ManipulationPivot
236
+ ManipulationStartedRoutedEventArgs = _winrt_windows_ui_xaml_input.ManipulationStartedRoutedEventArgs
237
+ ManipulationStartingRoutedEventArgs = _winrt_windows_ui_xaml_input.ManipulationStartingRoutedEventArgs
238
+ NoFocusCandidateFoundEventArgs = _winrt_windows_ui_xaml_input.NoFocusCandidateFoundEventArgs
239
+ Pointer = _winrt_windows_ui_xaml_input.Pointer
240
+ PointerRoutedEventArgs = _winrt_windows_ui_xaml_input.PointerRoutedEventArgs
241
+ ProcessKeyboardAcceleratorEventArgs = _winrt_windows_ui_xaml_input.ProcessKeyboardAcceleratorEventArgs
242
+ RightTappedRoutedEventArgs = _winrt_windows_ui_xaml_input.RightTappedRoutedEventArgs
243
+ StandardUICommand = _winrt_windows_ui_xaml_input.StandardUICommand
244
+ TappedRoutedEventArgs = _winrt_windows_ui_xaml_input.TappedRoutedEventArgs
245
+ XamlUICommand = _winrt_windows_ui_xaml_input.XamlUICommand
246
+ ICommand = _winrt_windows_ui_xaml_input.ICommand
247
+ DoubleTappedEventHandler = typing.Callable[[typing.Optional[winrt.system.Object], typing.Optional[DoubleTappedRoutedEventArgs]], None]
248
+ HoldingEventHandler = typing.Callable[[typing.Optional[winrt.system.Object], typing.Optional[HoldingRoutedEventArgs]], None]
249
+ KeyEventHandler = typing.Callable[[typing.Optional[winrt.system.Object], typing.Optional[KeyRoutedEventArgs]], None]
250
+ ManipulationCompletedEventHandler = typing.Callable[[typing.Optional[winrt.system.Object], typing.Optional[ManipulationCompletedRoutedEventArgs]], None]
251
+ ManipulationDeltaEventHandler = typing.Callable[[typing.Optional[winrt.system.Object], typing.Optional[ManipulationDeltaRoutedEventArgs]], None]
252
+ ManipulationInertiaStartingEventHandler = typing.Callable[[typing.Optional[winrt.system.Object], typing.Optional[ManipulationInertiaStartingRoutedEventArgs]], None]
253
+ ManipulationStartedEventHandler = typing.Callable[[typing.Optional[winrt.system.Object], typing.Optional[ManipulationStartedRoutedEventArgs]], None]
254
+ ManipulationStartingEventHandler = typing.Callable[[typing.Optional[winrt.system.Object], typing.Optional[ManipulationStartingRoutedEventArgs]], None]
255
+ PointerEventHandler = typing.Callable[[typing.Optional[winrt.system.Object], typing.Optional[PointerRoutedEventArgs]], None]
256
+ RightTappedEventHandler = typing.Callable[[typing.Optional[winrt.system.Object], typing.Optional[RightTappedRoutedEventArgs]], None]
257
+ TappedEventHandler = typing.Callable[[typing.Optional[winrt.system.Object], typing.Optional[TappedRoutedEventArgs]], None]
File without changes
@@ -0,0 +1,32 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.UI.Xaml.Input
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.Devices.Input[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.System[all] ==2.2.0 ; extra == 'all'
21
+ Requires-Dist: winrt-Windows.UI.Core[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.Xaml[all] ==2.2.0 ; extra == 'all'
24
+ Requires-Dist: winrt-Windows.UI.Xaml.Controls[all] ==2.2.0 ; extra == 'all'
25
+
26
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
27
+
28
+ # winrt-Windows.UI.Xaml.Input
29
+
30
+ Windows Runtime (WinRT) APIs for for the `Windows.UI.Xaml.Input` namespace.
31
+
32
+ This package provides the `winrt.windows.ui.xaml.input` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_ui_xaml_input.cp313-win_arm64.pyd,sha256=LE9L9u9DAB7N3qGsyIO3mNe5maQ_RVq8Z9qNQkrJY3M,655360
2
+ winrt/_winrt_windows_ui_xaml_input.pyi,sha256=piksuJLxurPY9cufyaoUlUlK85GoWyElCgS2pgS8NVo,41384
3
+ winrt/windows/ui/xaml/input/__init__.py,sha256=ihdRMVqeG-Yg466Jah_IU0Hvkn4G6lz2O52rRWMJyxQ,9685
4
+ winrt/windows/ui/xaml/input/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.UI.Xaml.Input-2.2.0.dist-info/METADATA,sha256=N-HtfPv61i9bqggeXA2Nf1KCneCNgzVKpOhU5biboAg,1541
6
+ winrt_Windows.UI.Xaml.Input-2.2.0.dist-info/WHEEL,sha256=Bc3zGnBzvnkuBaMd-KCqScACPFmA-93PSEDjeXqCzu8,101
7
+ winrt_Windows.UI.Xaml.Input-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.UI.Xaml.Input-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
+