winrt-Windows.UI.Composition.Interactions 2.0.0b1__cp312-cp312-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.
- winrt/_winrt_windows_ui_composition_interactions.cp312-win_arm64.pyd +0 -0
- winrt/_winrt_windows_ui_composition_interactions.pyi +350 -0
- winrt/windows/ui/composition/interactions/__init__.py +89 -0
- winrt_Windows.UI.Composition.Interactions-2.0.0b1.dist-info/METADATA +28 -0
- winrt_Windows.UI.Composition.Interactions-2.0.0b1.dist-info/RECORD +7 -0
- winrt_Windows.UI.Composition.Interactions-2.0.0b1.dist-info/WHEEL +5 -0
- winrt_Windows.UI.Composition.Interactions-2.0.0b1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
|
|
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
|
|
13
|
+
import winrt.windows.foundation.collections
|
|
14
|
+
import winrt.windows.foundation.numerics
|
|
15
|
+
import winrt.windows.ui.composition
|
|
16
|
+
import winrt.windows.ui.input
|
|
17
|
+
|
|
18
|
+
from winrt.windows.ui.composition.interactions import InteractionBindingAxisModes, InteractionChainingMode, InteractionSourceMode, InteractionSourceRedirectionMode, InteractionTrackerClampingOption, InteractionTrackerPositionUpdateOption, VisualInteractionSourceRedirectionMode
|
|
19
|
+
|
|
20
|
+
Self = typing.TypeVar('Self')
|
|
21
|
+
|
|
22
|
+
class CompositionConditionalValue_Static(type):
|
|
23
|
+
def create(cls, compositor: typing.Optional[winrt.windows.ui.composition.Compositor], /) -> typing.Optional[CompositionConditionalValue]: ...
|
|
24
|
+
|
|
25
|
+
class CompositionConditionalValue(winrt.system.Object, metaclass=CompositionConditionalValue_Static):
|
|
26
|
+
@staticmethod
|
|
27
|
+
def _from(obj: winrt.system.Object, /) -> CompositionConditionalValue: ...
|
|
28
|
+
@_property
|
|
29
|
+
def value(self) -> typing.Optional[winrt.windows.ui.composition.ExpressionAnimation]: ...
|
|
30
|
+
@value.setter
|
|
31
|
+
def value(self, value: typing.Optional[winrt.windows.ui.composition.ExpressionAnimation]) -> None: ...
|
|
32
|
+
@_property
|
|
33
|
+
def condition(self) -> typing.Optional[winrt.windows.ui.composition.ExpressionAnimation]: ...
|
|
34
|
+
@condition.setter
|
|
35
|
+
def condition(self, value: typing.Optional[winrt.windows.ui.composition.ExpressionAnimation]) -> None: ...
|
|
36
|
+
|
|
37
|
+
class CompositionInteractionSourceCollection(winrt.system.Object):
|
|
38
|
+
def __iter__(self) -> winrt.windows.foundation.collections.IIterator[ICompositionInteractionSource]: ...
|
|
39
|
+
@staticmethod
|
|
40
|
+
def _from(obj: winrt.system.Object, /) -> CompositionInteractionSourceCollection: ...
|
|
41
|
+
def add(self, value: typing.Optional[ICompositionInteractionSource], /) -> None: ...
|
|
42
|
+
def first(self) -> typing.Optional[winrt.windows.foundation.collections.IIterator[ICompositionInteractionSource]]: ...
|
|
43
|
+
def remove(self, value: typing.Optional[ICompositionInteractionSource], /) -> None: ...
|
|
44
|
+
def remove_all(self) -> None: ...
|
|
45
|
+
@_property
|
|
46
|
+
def count(self) -> winrt.system.Int32: ...
|
|
47
|
+
|
|
48
|
+
class InteractionSourceConfiguration(winrt.system.Object):
|
|
49
|
+
@staticmethod
|
|
50
|
+
def _from(obj: winrt.system.Object, /) -> InteractionSourceConfiguration: ...
|
|
51
|
+
@_property
|
|
52
|
+
def scale_source_mode(self) -> InteractionSourceRedirectionMode: ...
|
|
53
|
+
@scale_source_mode.setter
|
|
54
|
+
def scale_source_mode(self, value: InteractionSourceRedirectionMode) -> None: ...
|
|
55
|
+
@_property
|
|
56
|
+
def position_y_source_mode(self) -> InteractionSourceRedirectionMode: ...
|
|
57
|
+
@position_y_source_mode.setter
|
|
58
|
+
def position_y_source_mode(self, value: InteractionSourceRedirectionMode) -> None: ...
|
|
59
|
+
@_property
|
|
60
|
+
def position_x_source_mode(self) -> InteractionSourceRedirectionMode: ...
|
|
61
|
+
@position_x_source_mode.setter
|
|
62
|
+
def position_x_source_mode(self, value: InteractionSourceRedirectionMode) -> None: ...
|
|
63
|
+
|
|
64
|
+
class InteractionTracker_Static(type):
|
|
65
|
+
def create(cls, compositor: typing.Optional[winrt.windows.ui.composition.Compositor], /) -> typing.Optional[InteractionTracker]: ...
|
|
66
|
+
def create_with_owner(cls, compositor: typing.Optional[winrt.windows.ui.composition.Compositor], owner: typing.Optional[IInteractionTrackerOwner], /) -> typing.Optional[InteractionTracker]: ...
|
|
67
|
+
def get_binding_mode(cls, bound_tracker1: typing.Optional[InteractionTracker], bound_tracker2: typing.Optional[InteractionTracker], /) -> InteractionBindingAxisModes: ...
|
|
68
|
+
def set_binding_mode(cls, bound_tracker1: typing.Optional[InteractionTracker], bound_tracker2: typing.Optional[InteractionTracker], axis_mode: InteractionBindingAxisModes, /) -> None: ...
|
|
69
|
+
|
|
70
|
+
class InteractionTracker(winrt.system.Object, metaclass=InteractionTracker_Static):
|
|
71
|
+
@staticmethod
|
|
72
|
+
def _from(obj: winrt.system.Object, /) -> InteractionTracker: ...
|
|
73
|
+
def adjust_position_x_if_greater_than_threshold(self, adjustment: winrt.system.Single, position_threshold: winrt.system.Single, /) -> None: ...
|
|
74
|
+
def adjust_position_y_if_greater_than_threshold(self, adjustment: winrt.system.Single, position_threshold: winrt.system.Single, /) -> None: ...
|
|
75
|
+
def configure_center_point_x_inertia_modifiers(self, conditional_values: typing.Iterable[CompositionConditionalValue], /) -> None: ...
|
|
76
|
+
def configure_center_point_y_inertia_modifiers(self, conditional_values: typing.Iterable[CompositionConditionalValue], /) -> None: ...
|
|
77
|
+
def configure_position_x_inertia_modifiers(self, modifiers: typing.Iterable[InteractionTrackerInertiaModifier], /) -> None: ...
|
|
78
|
+
def configure_position_y_inertia_modifiers(self, modifiers: typing.Iterable[InteractionTrackerInertiaModifier], /) -> None: ...
|
|
79
|
+
def configure_scale_inertia_modifiers(self, modifiers: typing.Iterable[InteractionTrackerInertiaModifier], /) -> None: ...
|
|
80
|
+
def configure_vector2_position_inertia_modifiers(self, modifiers: typing.Iterable[InteractionTrackerVector2InertiaModifier], /) -> None: ...
|
|
81
|
+
@typing.overload
|
|
82
|
+
def try_update_position(self, value: winrt.windows.foundation.numerics.Vector3, /) -> winrt.system.Int32: ...
|
|
83
|
+
@typing.overload
|
|
84
|
+
def try_update_position(self, value: winrt.windows.foundation.numerics.Vector3, option: InteractionTrackerClampingOption, /) -> winrt.system.Int32: ...
|
|
85
|
+
@typing.overload
|
|
86
|
+
def try_update_position(self, value: winrt.windows.foundation.numerics.Vector3, option: InteractionTrackerClampingOption, pos_update_option: InteractionTrackerPositionUpdateOption, /) -> winrt.system.Int32: ...
|
|
87
|
+
@typing.overload
|
|
88
|
+
def try_update_position_by(self, amount: winrt.windows.foundation.numerics.Vector3, /) -> winrt.system.Int32: ...
|
|
89
|
+
@typing.overload
|
|
90
|
+
def try_update_position_by(self, amount: winrt.windows.foundation.numerics.Vector3, option: InteractionTrackerClampingOption, /) -> winrt.system.Int32: ...
|
|
91
|
+
def try_update_position_with_additional_velocity(self, velocity_in_pixels_per_second: winrt.windows.foundation.numerics.Vector3, /) -> winrt.system.Int32: ...
|
|
92
|
+
def try_update_position_with_animation(self, animation: typing.Optional[winrt.windows.ui.composition.CompositionAnimation], /) -> winrt.system.Int32: ...
|
|
93
|
+
def try_update_scale(self, value: winrt.system.Single, center_point: winrt.windows.foundation.numerics.Vector3, /) -> winrt.system.Int32: ...
|
|
94
|
+
def try_update_scale_with_additional_velocity(self, velocity_in_percent_per_second: winrt.system.Single, center_point: winrt.windows.foundation.numerics.Vector3, /) -> winrt.system.Int32: ...
|
|
95
|
+
def try_update_scale_with_animation(self, animation: typing.Optional[winrt.windows.ui.composition.CompositionAnimation], center_point: winrt.windows.foundation.numerics.Vector3, /) -> winrt.system.Int32: ...
|
|
96
|
+
@_property
|
|
97
|
+
def scale_inertia_decay_rate(self) -> typing.Optional[typing.Optional[winrt.system.Single]]: ...
|
|
98
|
+
@scale_inertia_decay_rate.setter
|
|
99
|
+
def scale_inertia_decay_rate(self, value: typing.Optional[typing.Optional[winrt.system.Single]]) -> None: ...
|
|
100
|
+
@_property
|
|
101
|
+
def position_inertia_decay_rate(self) -> typing.Optional[typing.Optional[winrt.windows.foundation.numerics.Vector3]]: ...
|
|
102
|
+
@position_inertia_decay_rate.setter
|
|
103
|
+
def position_inertia_decay_rate(self, value: typing.Optional[typing.Optional[winrt.windows.foundation.numerics.Vector3]]) -> None: ...
|
|
104
|
+
@_property
|
|
105
|
+
def min_scale(self) -> winrt.system.Single: ...
|
|
106
|
+
@min_scale.setter
|
|
107
|
+
def min_scale(self, value: winrt.system.Single) -> None: ...
|
|
108
|
+
@_property
|
|
109
|
+
def min_position(self) -> winrt.windows.foundation.numerics.Vector3: ...
|
|
110
|
+
@min_position.setter
|
|
111
|
+
def min_position(self, value: winrt.windows.foundation.numerics.Vector3) -> None: ...
|
|
112
|
+
@_property
|
|
113
|
+
def max_scale(self) -> winrt.system.Single: ...
|
|
114
|
+
@max_scale.setter
|
|
115
|
+
def max_scale(self, value: winrt.system.Single) -> None: ...
|
|
116
|
+
@_property
|
|
117
|
+
def max_position(self) -> winrt.windows.foundation.numerics.Vector3: ...
|
|
118
|
+
@max_position.setter
|
|
119
|
+
def max_position(self, value: winrt.windows.foundation.numerics.Vector3) -> None: ...
|
|
120
|
+
@_property
|
|
121
|
+
def interaction_sources(self) -> typing.Optional[CompositionInteractionSourceCollection]: ...
|
|
122
|
+
@_property
|
|
123
|
+
def is_position_rounding_suggested(self) -> bool: ...
|
|
124
|
+
@_property
|
|
125
|
+
def natural_resting_position(self) -> winrt.windows.foundation.numerics.Vector3: ...
|
|
126
|
+
@_property
|
|
127
|
+
def natural_resting_scale(self) -> winrt.system.Single: ...
|
|
128
|
+
@_property
|
|
129
|
+
def owner(self) -> typing.Optional[IInteractionTrackerOwner]: ...
|
|
130
|
+
@_property
|
|
131
|
+
def position(self) -> winrt.windows.foundation.numerics.Vector3: ...
|
|
132
|
+
@_property
|
|
133
|
+
def position_velocity_in_pixels_per_second(self) -> winrt.windows.foundation.numerics.Vector3: ...
|
|
134
|
+
@_property
|
|
135
|
+
def scale(self) -> winrt.system.Single: ...
|
|
136
|
+
@_property
|
|
137
|
+
def scale_velocity_in_percent_per_second(self) -> winrt.system.Single: ...
|
|
138
|
+
@_property
|
|
139
|
+
def is_inertia_from_impulse(self) -> bool: ...
|
|
140
|
+
|
|
141
|
+
class InteractionTrackerCustomAnimationStateEnteredArgs(winrt.system.Object):
|
|
142
|
+
@staticmethod
|
|
143
|
+
def _from(obj: winrt.system.Object, /) -> InteractionTrackerCustomAnimationStateEnteredArgs: ...
|
|
144
|
+
@_property
|
|
145
|
+
def request_id(self) -> winrt.system.Int32: ...
|
|
146
|
+
@_property
|
|
147
|
+
def is_from_binding(self) -> bool: ...
|
|
148
|
+
|
|
149
|
+
class InteractionTrackerIdleStateEnteredArgs(winrt.system.Object):
|
|
150
|
+
@staticmethod
|
|
151
|
+
def _from(obj: winrt.system.Object, /) -> InteractionTrackerIdleStateEnteredArgs: ...
|
|
152
|
+
@_property
|
|
153
|
+
def request_id(self) -> winrt.system.Int32: ...
|
|
154
|
+
@_property
|
|
155
|
+
def is_from_binding(self) -> bool: ...
|
|
156
|
+
|
|
157
|
+
class InteractionTrackerInertiaModifier(winrt.system.Object):
|
|
158
|
+
@staticmethod
|
|
159
|
+
def _from(obj: winrt.system.Object, /) -> InteractionTrackerInertiaModifier: ...
|
|
160
|
+
|
|
161
|
+
class InteractionTrackerInertiaMotion_Static(type):
|
|
162
|
+
def create(cls, compositor: typing.Optional[winrt.windows.ui.composition.Compositor], /) -> typing.Optional[InteractionTrackerInertiaMotion]: ...
|
|
163
|
+
|
|
164
|
+
class InteractionTrackerInertiaMotion(winrt.system.Object, metaclass=InteractionTrackerInertiaMotion_Static):
|
|
165
|
+
@staticmethod
|
|
166
|
+
def _from(obj: winrt.system.Object, /) -> InteractionTrackerInertiaMotion: ...
|
|
167
|
+
@_property
|
|
168
|
+
def motion(self) -> typing.Optional[winrt.windows.ui.composition.ExpressionAnimation]: ...
|
|
169
|
+
@motion.setter
|
|
170
|
+
def motion(self, value: typing.Optional[winrt.windows.ui.composition.ExpressionAnimation]) -> None: ...
|
|
171
|
+
@_property
|
|
172
|
+
def condition(self) -> typing.Optional[winrt.windows.ui.composition.ExpressionAnimation]: ...
|
|
173
|
+
@condition.setter
|
|
174
|
+
def condition(self, value: typing.Optional[winrt.windows.ui.composition.ExpressionAnimation]) -> None: ...
|
|
175
|
+
|
|
176
|
+
class InteractionTrackerInertiaNaturalMotion_Static(type):
|
|
177
|
+
def create(cls, compositor: typing.Optional[winrt.windows.ui.composition.Compositor], /) -> typing.Optional[InteractionTrackerInertiaNaturalMotion]: ...
|
|
178
|
+
|
|
179
|
+
class InteractionTrackerInertiaNaturalMotion(winrt.system.Object, metaclass=InteractionTrackerInertiaNaturalMotion_Static):
|
|
180
|
+
@staticmethod
|
|
181
|
+
def _from(obj: winrt.system.Object, /) -> InteractionTrackerInertiaNaturalMotion: ...
|
|
182
|
+
@_property
|
|
183
|
+
def natural_motion(self) -> typing.Optional[winrt.windows.ui.composition.ScalarNaturalMotionAnimation]: ...
|
|
184
|
+
@natural_motion.setter
|
|
185
|
+
def natural_motion(self, value: typing.Optional[winrt.windows.ui.composition.ScalarNaturalMotionAnimation]) -> None: ...
|
|
186
|
+
@_property
|
|
187
|
+
def condition(self) -> typing.Optional[winrt.windows.ui.composition.ExpressionAnimation]: ...
|
|
188
|
+
@condition.setter
|
|
189
|
+
def condition(self, value: typing.Optional[winrt.windows.ui.composition.ExpressionAnimation]) -> None: ...
|
|
190
|
+
|
|
191
|
+
class InteractionTrackerInertiaRestingValue_Static(type):
|
|
192
|
+
def create(cls, compositor: typing.Optional[winrt.windows.ui.composition.Compositor], /) -> typing.Optional[InteractionTrackerInertiaRestingValue]: ...
|
|
193
|
+
|
|
194
|
+
class InteractionTrackerInertiaRestingValue(winrt.system.Object, metaclass=InteractionTrackerInertiaRestingValue_Static):
|
|
195
|
+
@staticmethod
|
|
196
|
+
def _from(obj: winrt.system.Object, /) -> InteractionTrackerInertiaRestingValue: ...
|
|
197
|
+
@_property
|
|
198
|
+
def resting_value(self) -> typing.Optional[winrt.windows.ui.composition.ExpressionAnimation]: ...
|
|
199
|
+
@resting_value.setter
|
|
200
|
+
def resting_value(self, value: typing.Optional[winrt.windows.ui.composition.ExpressionAnimation]) -> None: ...
|
|
201
|
+
@_property
|
|
202
|
+
def condition(self) -> typing.Optional[winrt.windows.ui.composition.ExpressionAnimation]: ...
|
|
203
|
+
@condition.setter
|
|
204
|
+
def condition(self, value: typing.Optional[winrt.windows.ui.composition.ExpressionAnimation]) -> None: ...
|
|
205
|
+
|
|
206
|
+
class InteractionTrackerInertiaStateEnteredArgs(winrt.system.Object):
|
|
207
|
+
@staticmethod
|
|
208
|
+
def _from(obj: winrt.system.Object, /) -> InteractionTrackerInertiaStateEnteredArgs: ...
|
|
209
|
+
@_property
|
|
210
|
+
def modified_resting_position(self) -> typing.Optional[typing.Optional[winrt.windows.foundation.numerics.Vector3]]: ...
|
|
211
|
+
@_property
|
|
212
|
+
def modified_resting_scale(self) -> typing.Optional[typing.Optional[winrt.system.Single]]: ...
|
|
213
|
+
@_property
|
|
214
|
+
def natural_resting_position(self) -> winrt.windows.foundation.numerics.Vector3: ...
|
|
215
|
+
@_property
|
|
216
|
+
def natural_resting_scale(self) -> winrt.system.Single: ...
|
|
217
|
+
@_property
|
|
218
|
+
def position_velocity_in_pixels_per_second(self) -> winrt.windows.foundation.numerics.Vector3: ...
|
|
219
|
+
@_property
|
|
220
|
+
def request_id(self) -> winrt.system.Int32: ...
|
|
221
|
+
@_property
|
|
222
|
+
def scale_velocity_in_percent_per_second(self) -> winrt.system.Single: ...
|
|
223
|
+
@_property
|
|
224
|
+
def is_inertia_from_impulse(self) -> bool: ...
|
|
225
|
+
@_property
|
|
226
|
+
def is_from_binding(self) -> bool: ...
|
|
227
|
+
|
|
228
|
+
class InteractionTrackerInteractingStateEnteredArgs(winrt.system.Object):
|
|
229
|
+
@staticmethod
|
|
230
|
+
def _from(obj: winrt.system.Object, /) -> InteractionTrackerInteractingStateEnteredArgs: ...
|
|
231
|
+
@_property
|
|
232
|
+
def request_id(self) -> winrt.system.Int32: ...
|
|
233
|
+
@_property
|
|
234
|
+
def is_from_binding(self) -> bool: ...
|
|
235
|
+
|
|
236
|
+
class InteractionTrackerRequestIgnoredArgs(winrt.system.Object):
|
|
237
|
+
@staticmethod
|
|
238
|
+
def _from(obj: winrt.system.Object, /) -> InteractionTrackerRequestIgnoredArgs: ...
|
|
239
|
+
@_property
|
|
240
|
+
def request_id(self) -> winrt.system.Int32: ...
|
|
241
|
+
|
|
242
|
+
class InteractionTrackerValuesChangedArgs(winrt.system.Object):
|
|
243
|
+
@staticmethod
|
|
244
|
+
def _from(obj: winrt.system.Object, /) -> InteractionTrackerValuesChangedArgs: ...
|
|
245
|
+
@_property
|
|
246
|
+
def position(self) -> winrt.windows.foundation.numerics.Vector3: ...
|
|
247
|
+
@_property
|
|
248
|
+
def request_id(self) -> winrt.system.Int32: ...
|
|
249
|
+
@_property
|
|
250
|
+
def scale(self) -> winrt.system.Single: ...
|
|
251
|
+
|
|
252
|
+
class InteractionTrackerVector2InertiaModifier(winrt.system.Object):
|
|
253
|
+
@staticmethod
|
|
254
|
+
def _from(obj: winrt.system.Object, /) -> InteractionTrackerVector2InertiaModifier: ...
|
|
255
|
+
|
|
256
|
+
class InteractionTrackerVector2InertiaNaturalMotion_Static(type):
|
|
257
|
+
def create(cls, compositor: typing.Optional[winrt.windows.ui.composition.Compositor], /) -> typing.Optional[InteractionTrackerVector2InertiaNaturalMotion]: ...
|
|
258
|
+
|
|
259
|
+
class InteractionTrackerVector2InertiaNaturalMotion(winrt.system.Object, metaclass=InteractionTrackerVector2InertiaNaturalMotion_Static):
|
|
260
|
+
@staticmethod
|
|
261
|
+
def _from(obj: winrt.system.Object, /) -> InteractionTrackerVector2InertiaNaturalMotion: ...
|
|
262
|
+
@_property
|
|
263
|
+
def natural_motion(self) -> typing.Optional[winrt.windows.ui.composition.Vector2NaturalMotionAnimation]: ...
|
|
264
|
+
@natural_motion.setter
|
|
265
|
+
def natural_motion(self, value: typing.Optional[winrt.windows.ui.composition.Vector2NaturalMotionAnimation]) -> None: ...
|
|
266
|
+
@_property
|
|
267
|
+
def condition(self) -> typing.Optional[winrt.windows.ui.composition.ExpressionAnimation]: ...
|
|
268
|
+
@condition.setter
|
|
269
|
+
def condition(self, value: typing.Optional[winrt.windows.ui.composition.ExpressionAnimation]) -> None: ...
|
|
270
|
+
|
|
271
|
+
class VisualInteractionSource_Static(type):
|
|
272
|
+
def create(cls, source: typing.Optional[winrt.windows.ui.composition.Visual], /) -> typing.Optional[VisualInteractionSource]: ...
|
|
273
|
+
def create_from_i_visual_element(cls, source: typing.Optional[winrt.windows.ui.composition.IVisualElement], /) -> typing.Optional[VisualInteractionSource]: ...
|
|
274
|
+
|
|
275
|
+
class VisualInteractionSource(winrt.system.Object, metaclass=VisualInteractionSource_Static):
|
|
276
|
+
@staticmethod
|
|
277
|
+
def _from(obj: winrt.system.Object, /) -> VisualInteractionSource: ...
|
|
278
|
+
def configure_center_point_x_modifiers(self, conditional_values: typing.Iterable[CompositionConditionalValue], /) -> None: ...
|
|
279
|
+
def configure_center_point_y_modifiers(self, conditional_values: typing.Iterable[CompositionConditionalValue], /) -> None: ...
|
|
280
|
+
def configure_delta_position_x_modifiers(self, conditional_values: typing.Iterable[CompositionConditionalValue], /) -> None: ...
|
|
281
|
+
def configure_delta_position_y_modifiers(self, conditional_values: typing.Iterable[CompositionConditionalValue], /) -> None: ...
|
|
282
|
+
def configure_delta_scale_modifiers(self, conditional_values: typing.Iterable[CompositionConditionalValue], /) -> None: ...
|
|
283
|
+
def try_redirect_for_manipulation(self, pointer_point: typing.Optional[winrt.windows.ui.input.PointerPoint], /) -> None: ...
|
|
284
|
+
@_property
|
|
285
|
+
def scale_source_mode(self) -> InteractionSourceMode: ...
|
|
286
|
+
@scale_source_mode.setter
|
|
287
|
+
def scale_source_mode(self, value: InteractionSourceMode) -> None: ...
|
|
288
|
+
@_property
|
|
289
|
+
def scale_chaining_mode(self) -> InteractionChainingMode: ...
|
|
290
|
+
@scale_chaining_mode.setter
|
|
291
|
+
def scale_chaining_mode(self, value: InteractionChainingMode) -> None: ...
|
|
292
|
+
@_property
|
|
293
|
+
def position_y_source_mode(self) -> InteractionSourceMode: ...
|
|
294
|
+
@position_y_source_mode.setter
|
|
295
|
+
def position_y_source_mode(self, value: InteractionSourceMode) -> None: ...
|
|
296
|
+
@_property
|
|
297
|
+
def position_y_chaining_mode(self) -> InteractionChainingMode: ...
|
|
298
|
+
@position_y_chaining_mode.setter
|
|
299
|
+
def position_y_chaining_mode(self, value: InteractionChainingMode) -> None: ...
|
|
300
|
+
@_property
|
|
301
|
+
def position_x_source_mode(self) -> InteractionSourceMode: ...
|
|
302
|
+
@position_x_source_mode.setter
|
|
303
|
+
def position_x_source_mode(self, value: InteractionSourceMode) -> None: ...
|
|
304
|
+
@_property
|
|
305
|
+
def position_x_chaining_mode(self) -> InteractionChainingMode: ...
|
|
306
|
+
@position_x_chaining_mode.setter
|
|
307
|
+
def position_x_chaining_mode(self, value: InteractionChainingMode) -> None: ...
|
|
308
|
+
@_property
|
|
309
|
+
def manipulation_redirection_mode(self) -> VisualInteractionSourceRedirectionMode: ...
|
|
310
|
+
@manipulation_redirection_mode.setter
|
|
311
|
+
def manipulation_redirection_mode(self, value: VisualInteractionSourceRedirectionMode) -> None: ...
|
|
312
|
+
@_property
|
|
313
|
+
def is_position_y_rails_enabled(self) -> bool: ...
|
|
314
|
+
@is_position_y_rails_enabled.setter
|
|
315
|
+
def is_position_y_rails_enabled(self, value: bool) -> None: ...
|
|
316
|
+
@_property
|
|
317
|
+
def is_position_x_rails_enabled(self) -> bool: ...
|
|
318
|
+
@is_position_x_rails_enabled.setter
|
|
319
|
+
def is_position_x_rails_enabled(self, value: bool) -> None: ...
|
|
320
|
+
@_property
|
|
321
|
+
def source(self) -> typing.Optional[winrt.windows.ui.composition.Visual]: ...
|
|
322
|
+
@_property
|
|
323
|
+
def delta_position(self) -> winrt.windows.foundation.numerics.Vector3: ...
|
|
324
|
+
@_property
|
|
325
|
+
def delta_scale(self) -> winrt.system.Single: ...
|
|
326
|
+
@_property
|
|
327
|
+
def position(self) -> winrt.windows.foundation.numerics.Vector3: ...
|
|
328
|
+
@_property
|
|
329
|
+
def position_velocity(self) -> winrt.windows.foundation.numerics.Vector3: ...
|
|
330
|
+
@_property
|
|
331
|
+
def scale(self) -> winrt.system.Single: ...
|
|
332
|
+
@_property
|
|
333
|
+
def scale_velocity(self) -> winrt.system.Single: ...
|
|
334
|
+
@_property
|
|
335
|
+
def pointer_wheel_config(self) -> typing.Optional[InteractionSourceConfiguration]: ...
|
|
336
|
+
|
|
337
|
+
class ICompositionInteractionSource(winrt.system.Object):
|
|
338
|
+
@staticmethod
|
|
339
|
+
def _from(obj: winrt.system.Object, /) -> ICompositionInteractionSource: ...
|
|
340
|
+
|
|
341
|
+
class IInteractionTrackerOwner(winrt.system.Object):
|
|
342
|
+
@staticmethod
|
|
343
|
+
def _from(obj: winrt.system.Object, /) -> IInteractionTrackerOwner: ...
|
|
344
|
+
def custom_animation_state_entered(self, sender: typing.Optional[InteractionTracker], args: typing.Optional[InteractionTrackerCustomAnimationStateEnteredArgs], /) -> None: ...
|
|
345
|
+
def idle_state_entered(self, sender: typing.Optional[InteractionTracker], args: typing.Optional[InteractionTrackerIdleStateEnteredArgs], /) -> None: ...
|
|
346
|
+
def inertia_state_entered(self, sender: typing.Optional[InteractionTracker], args: typing.Optional[InteractionTrackerInertiaStateEnteredArgs], /) -> None: ...
|
|
347
|
+
def interacting_state_entered(self, sender: typing.Optional[InteractionTracker], args: typing.Optional[InteractionTrackerInteractingStateEnteredArgs], /) -> None: ...
|
|
348
|
+
def request_ignored(self, sender: typing.Optional[InteractionTracker], args: typing.Optional[InteractionTrackerRequestIgnoredArgs], /) -> None: ...
|
|
349
|
+
def values_changed(self, sender: typing.Optional[InteractionTracker], args: typing.Optional[InteractionTrackerValuesChangedArgs], /) -> None: ...
|
|
350
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt import _winrt_windows_ui_composition_interactions
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"InteractionBindingAxisModes",
|
|
10
|
+
"InteractionChainingMode",
|
|
11
|
+
"InteractionSourceMode",
|
|
12
|
+
"InteractionSourceRedirectionMode",
|
|
13
|
+
"InteractionTrackerClampingOption",
|
|
14
|
+
"InteractionTrackerPositionUpdateOption",
|
|
15
|
+
"VisualInteractionSourceRedirectionMode",
|
|
16
|
+
"CompositionConditionalValue",
|
|
17
|
+
"CompositionInteractionSourceCollection",
|
|
18
|
+
"InteractionSourceConfiguration",
|
|
19
|
+
"InteractionTracker",
|
|
20
|
+
"InteractionTrackerCustomAnimationStateEnteredArgs",
|
|
21
|
+
"InteractionTrackerIdleStateEnteredArgs",
|
|
22
|
+
"InteractionTrackerInertiaModifier",
|
|
23
|
+
"InteractionTrackerInertiaMotion",
|
|
24
|
+
"InteractionTrackerInertiaNaturalMotion",
|
|
25
|
+
"InteractionTrackerInertiaRestingValue",
|
|
26
|
+
"InteractionTrackerInertiaStateEnteredArgs",
|
|
27
|
+
"InteractionTrackerInteractingStateEnteredArgs",
|
|
28
|
+
"InteractionTrackerRequestIgnoredArgs",
|
|
29
|
+
"InteractionTrackerValuesChangedArgs",
|
|
30
|
+
"InteractionTrackerVector2InertiaModifier",
|
|
31
|
+
"InteractionTrackerVector2InertiaNaturalMotion",
|
|
32
|
+
"VisualInteractionSource",
|
|
33
|
+
"ICompositionInteractionSource",
|
|
34
|
+
"IInteractionTrackerOwner",
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
class InteractionBindingAxisModes(enum.IntFlag):
|
|
38
|
+
NONE = 0
|
|
39
|
+
POSITION_X = 0x1
|
|
40
|
+
POSITION_Y = 0x2
|
|
41
|
+
SCALE = 0x4
|
|
42
|
+
|
|
43
|
+
class InteractionChainingMode(enum.IntEnum):
|
|
44
|
+
AUTO = 0
|
|
45
|
+
ALWAYS = 1
|
|
46
|
+
NEVER = 2
|
|
47
|
+
|
|
48
|
+
class InteractionSourceMode(enum.IntEnum):
|
|
49
|
+
DISABLED = 0
|
|
50
|
+
ENABLED_WITH_INERTIA = 1
|
|
51
|
+
ENABLED_WITHOUT_INERTIA = 2
|
|
52
|
+
|
|
53
|
+
class InteractionSourceRedirectionMode(enum.IntEnum):
|
|
54
|
+
DISABLED = 0
|
|
55
|
+
ENABLED = 1
|
|
56
|
+
|
|
57
|
+
class InteractionTrackerClampingOption(enum.IntEnum):
|
|
58
|
+
AUTO = 0
|
|
59
|
+
DISABLED = 1
|
|
60
|
+
|
|
61
|
+
class InteractionTrackerPositionUpdateOption(enum.IntEnum):
|
|
62
|
+
DEFAULT = 0
|
|
63
|
+
ALLOW_ACTIVE_CUSTOM_SCALE_ANIMATION = 1
|
|
64
|
+
|
|
65
|
+
class VisualInteractionSourceRedirectionMode(enum.IntEnum):
|
|
66
|
+
OFF = 0
|
|
67
|
+
CAPABLE_TOUCHPAD_ONLY = 1
|
|
68
|
+
POINTER_WHEEL_ONLY = 2
|
|
69
|
+
CAPABLE_TOUCHPAD_AND_POINTER_WHEEL = 3
|
|
70
|
+
|
|
71
|
+
CompositionConditionalValue = _winrt_windows_ui_composition_interactions.CompositionConditionalValue
|
|
72
|
+
CompositionInteractionSourceCollection = _winrt_windows_ui_composition_interactions.CompositionInteractionSourceCollection
|
|
73
|
+
InteractionSourceConfiguration = _winrt_windows_ui_composition_interactions.InteractionSourceConfiguration
|
|
74
|
+
InteractionTracker = _winrt_windows_ui_composition_interactions.InteractionTracker
|
|
75
|
+
InteractionTrackerCustomAnimationStateEnteredArgs = _winrt_windows_ui_composition_interactions.InteractionTrackerCustomAnimationStateEnteredArgs
|
|
76
|
+
InteractionTrackerIdleStateEnteredArgs = _winrt_windows_ui_composition_interactions.InteractionTrackerIdleStateEnteredArgs
|
|
77
|
+
InteractionTrackerInertiaModifier = _winrt_windows_ui_composition_interactions.InteractionTrackerInertiaModifier
|
|
78
|
+
InteractionTrackerInertiaMotion = _winrt_windows_ui_composition_interactions.InteractionTrackerInertiaMotion
|
|
79
|
+
InteractionTrackerInertiaNaturalMotion = _winrt_windows_ui_composition_interactions.InteractionTrackerInertiaNaturalMotion
|
|
80
|
+
InteractionTrackerInertiaRestingValue = _winrt_windows_ui_composition_interactions.InteractionTrackerInertiaRestingValue
|
|
81
|
+
InteractionTrackerInertiaStateEnteredArgs = _winrt_windows_ui_composition_interactions.InteractionTrackerInertiaStateEnteredArgs
|
|
82
|
+
InteractionTrackerInteractingStateEnteredArgs = _winrt_windows_ui_composition_interactions.InteractionTrackerInteractingStateEnteredArgs
|
|
83
|
+
InteractionTrackerRequestIgnoredArgs = _winrt_windows_ui_composition_interactions.InteractionTrackerRequestIgnoredArgs
|
|
84
|
+
InteractionTrackerValuesChangedArgs = _winrt_windows_ui_composition_interactions.InteractionTrackerValuesChangedArgs
|
|
85
|
+
InteractionTrackerVector2InertiaModifier = _winrt_windows_ui_composition_interactions.InteractionTrackerVector2InertiaModifier
|
|
86
|
+
InteractionTrackerVector2InertiaNaturalMotion = _winrt_windows_ui_composition_interactions.InteractionTrackerVector2InertiaNaturalMotion
|
|
87
|
+
VisualInteractionSource = _winrt_windows_ui_composition_interactions.VisualInteractionSource
|
|
88
|
+
ICompositionInteractionSource = _winrt_windows_ui_composition_interactions.ICompositionInteractionSource
|
|
89
|
+
IInteractionTrackerOwner = _winrt_windows_ui_composition_interactions.IInteractionTrackerOwner
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.UI.Composition.Interactions
|
|
3
|
+
Version: 2.0.0b1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: MIT
|
|
6
|
+
Project-URL: Repository, https://github.com/pywrint/pywrinrt
|
|
7
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
8
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Requires-Python: <3.13,>=3.9
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
Requires-Dist: winrt-runtime ==2.0.0-beta.1
|
|
15
|
+
Provides-Extra: all
|
|
16
|
+
Requires-Dist: winrt-Windows.Foundation[all] ==2.0.0-beta.1 ; extra == 'all'
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.0.0-beta.1 ; extra == 'all'
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Numerics[all] ==2.0.0-beta.1 ; extra == 'all'
|
|
19
|
+
Requires-Dist: winrt-Windows.UI.Composition[all] ==2.0.0-beta.1 ; extra == 'all'
|
|
20
|
+
Requires-Dist: winrt-Windows.UI.Input[all] ==2.0.0-beta.1 ; extra == 'all'
|
|
21
|
+
|
|
22
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
|
+
|
|
24
|
+
# winrt-Windows.UI.Composition.Interactions
|
|
25
|
+
|
|
26
|
+
Windows Runtime (WinRT) APIs for for the `Windows.UI.Composition.Interactions` namespace.
|
|
27
|
+
|
|
28
|
+
This package provides the `winrt.windows.ui.composition.interactions` module.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
winrt/_winrt_windows_ui_composition_interactions.cp312-win_arm64.pyd,sha256=VwbbH3gpVK9QcpeZIQtjXtz3z2WYm4AR-o7TEPz6thk,388608
|
|
2
|
+
winrt/_winrt_windows_ui_composition_interactions.pyi,sha256=Qys6f7RbfEtQjk_GKMLNHkEVZbj-gW2JKJk4gAzJEo4,20905
|
|
3
|
+
winrt/windows/ui/composition/interactions/__init__.py,sha256=MP0n_69Zw9ZJk1Fg5rm9ykwejN0tEtMEZNffaRttXAI,4279
|
|
4
|
+
winrt_Windows.UI.Composition.Interactions-2.0.0b1.dist-info/METADATA,sha256=52z9QSmWAWKORj7zvIFRFDwMe8u14TAM4IZW3KH5GCI,1383
|
|
5
|
+
winrt_Windows.UI.Composition.Interactions-2.0.0b1.dist-info/WHEEL,sha256=4a57bNWdRt5PINziSad5EMsdocHr4i3ENb3kQ9gPSug,102
|
|
6
|
+
winrt_Windows.UI.Composition.Interactions-2.0.0b1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
7
|
+
winrt_Windows.UI.Composition.Interactions-2.0.0b1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|