winrt-Windows.UI.Core.AnimationMetrics 2.0.1__tar.gz → 2.1.0__tar.gz
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_windows_ui_core_animationmetrics-2.0.1 → winrt_windows_ui_core_animationmetrics-2.1.0}/PKG-INFO +4 -4
- winrt_windows_ui_core_animationmetrics-2.1.0/all-requirements.txt +4 -0
- {winrt_windows_ui_core_animationmetrics-2.0.1 → winrt_windows_ui_core_animationmetrics-2.1.0}/py.Windows.UI.Core.AnimationMetrics.cpp +258 -278
- winrt_windows_ui_core_animationmetrics-2.1.0/pywinrt-version.txt +1 -0
- {winrt_windows_ui_core_animationmetrics-2.0.1 → winrt_windows_ui_core_animationmetrics-2.1.0}/requirements.txt +2 -2
- {winrt_windows_ui_core_animationmetrics-2.0.1 → winrt_windows_ui_core_animationmetrics-2.1.0}/winrt/_winrt_windows_ui_core_animationmetrics.pyi +16 -16
- {winrt_windows_ui_core_animationmetrics-2.0.1 → winrt_windows_ui_core_animationmetrics-2.1.0}/winrt/windows/ui/core/animationmetrics/__init__.py +1 -1
- {winrt_windows_ui_core_animationmetrics-2.0.1 → winrt_windows_ui_core_animationmetrics-2.1.0}/winrt_Windows.UI.Core.AnimationMetrics.egg-info/PKG-INFO +4 -4
- winrt_windows_ui_core_animationmetrics-2.1.0/winrt_Windows.UI.Core.AnimationMetrics.egg-info/requires.txt +5 -0
- winrt_windows_ui_core_animationmetrics-2.0.1/all-requirements.txt +0 -4
- winrt_windows_ui_core_animationmetrics-2.0.1/pywinrt-version.txt +0 -1
- winrt_windows_ui_core_animationmetrics-2.0.1/winrt_Windows.UI.Core.AnimationMetrics.egg-info/requires.txt +0 -5
- {winrt_windows_ui_core_animationmetrics-2.0.1 → winrt_windows_ui_core_animationmetrics-2.1.0}/README.md +0 -0
- {winrt_windows_ui_core_animationmetrics-2.0.1 → winrt_windows_ui_core_animationmetrics-2.1.0}/pyproject.toml +0 -0
- {winrt_windows_ui_core_animationmetrics-2.0.1 → winrt_windows_ui_core_animationmetrics-2.1.0}/setup.cfg +0 -0
- {winrt_windows_ui_core_animationmetrics-2.0.1 → winrt_windows_ui_core_animationmetrics-2.1.0}/setup.py +0 -0
- {winrt_windows_ui_core_animationmetrics-2.0.1 → winrt_windows_ui_core_animationmetrics-2.1.0}/winrt/windows/ui/core/animationmetrics/py.typed +0 -0
- {winrt_windows_ui_core_animationmetrics-2.0.1 → winrt_windows_ui_core_animationmetrics-2.1.0}/winrt_Windows.UI.Core.AnimationMetrics.egg-info/SOURCES.txt +0 -0
- {winrt_windows_ui_core_animationmetrics-2.0.1 → winrt_windows_ui_core_animationmetrics-2.1.0}/winrt_Windows.UI.Core.AnimationMetrics.egg-info/dependency_links.txt +0 -0
- {winrt_windows_ui_core_animationmetrics-2.0.1 → winrt_windows_ui_core_animationmetrics-2.1.0}/winrt_Windows.UI.Core.AnimationMetrics.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.UI.Core.AnimationMetrics
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -12,10 +12,10 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Requires-Python: <3.13,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.0
|
|
15
|
+
Requires-Dist: winrt-runtime==2.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.0
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.1.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.UI.Core.AnimationMetrics.h"
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
7
6
|
{
|
|
8
7
|
// ----- AnimationDescription class --------------------
|
|
@@ -49,14 +48,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
49
48
|
|
|
50
49
|
static PyObject* AnimationDescription_get_Animations(py::wrapper::Windows::UI::Core::AnimationMetrics::AnimationDescription* self, void* /*unused*/) noexcept
|
|
51
50
|
{
|
|
52
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.AnimationDescription", L"Animations"))
|
|
53
|
-
{
|
|
54
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
55
|
-
return nullptr;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
51
|
try
|
|
59
52
|
{
|
|
53
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.AnimationDescription", L"Animations"))
|
|
54
|
+
{
|
|
55
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
56
|
+
return nullptr;
|
|
57
|
+
}
|
|
58
|
+
|
|
60
59
|
return py::convert(self->obj.Animations());
|
|
61
60
|
}
|
|
62
61
|
catch (...)
|
|
@@ -68,14 +67,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
68
67
|
|
|
69
68
|
static PyObject* AnimationDescription_get_DelayLimit(py::wrapper::Windows::UI::Core::AnimationMetrics::AnimationDescription* self, void* /*unused*/) noexcept
|
|
70
69
|
{
|
|
71
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.AnimationDescription", L"DelayLimit"))
|
|
72
|
-
{
|
|
73
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
74
|
-
return nullptr;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
70
|
try
|
|
78
71
|
{
|
|
72
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.AnimationDescription", L"DelayLimit"))
|
|
73
|
+
{
|
|
74
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
75
|
+
return nullptr;
|
|
76
|
+
}
|
|
77
|
+
|
|
79
78
|
return py::convert(self->obj.DelayLimit());
|
|
80
79
|
}
|
|
81
80
|
catch (...)
|
|
@@ -87,14 +86,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
87
86
|
|
|
88
87
|
static PyObject* AnimationDescription_get_StaggerDelay(py::wrapper::Windows::UI::Core::AnimationMetrics::AnimationDescription* self, void* /*unused*/) noexcept
|
|
89
88
|
{
|
|
90
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.AnimationDescription", L"StaggerDelay"))
|
|
91
|
-
{
|
|
92
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
93
|
-
return nullptr;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
89
|
try
|
|
97
90
|
{
|
|
91
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.AnimationDescription", L"StaggerDelay"))
|
|
92
|
+
{
|
|
93
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
94
|
+
return nullptr;
|
|
95
|
+
}
|
|
96
|
+
|
|
98
97
|
return py::convert(self->obj.StaggerDelay());
|
|
99
98
|
}
|
|
100
99
|
catch (...)
|
|
@@ -106,14 +105,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
106
105
|
|
|
107
106
|
static PyObject* AnimationDescription_get_StaggerDelayFactor(py::wrapper::Windows::UI::Core::AnimationMetrics::AnimationDescription* self, void* /*unused*/) noexcept
|
|
108
107
|
{
|
|
109
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.AnimationDescription", L"StaggerDelayFactor"))
|
|
110
|
-
{
|
|
111
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
112
|
-
return nullptr;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
108
|
try
|
|
116
109
|
{
|
|
110
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.AnimationDescription", L"StaggerDelayFactor"))
|
|
111
|
+
{
|
|
112
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
113
|
+
return nullptr;
|
|
114
|
+
}
|
|
115
|
+
|
|
117
116
|
return py::convert(self->obj.StaggerDelayFactor());
|
|
118
117
|
}
|
|
119
118
|
catch (...)
|
|
@@ -125,14 +124,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
125
124
|
|
|
126
125
|
static PyObject* AnimationDescription_get_ZOrder(py::wrapper::Windows::UI::Core::AnimationMetrics::AnimationDescription* self, void* /*unused*/) noexcept
|
|
127
126
|
{
|
|
128
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.AnimationDescription", L"ZOrder"))
|
|
129
|
-
{
|
|
130
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
131
|
-
return nullptr;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
127
|
try
|
|
135
128
|
{
|
|
129
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.AnimationDescription", L"ZOrder"))
|
|
130
|
+
{
|
|
131
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
132
|
+
return nullptr;
|
|
133
|
+
}
|
|
134
|
+
|
|
136
135
|
return py::convert(self->obj.ZOrder());
|
|
137
136
|
}
|
|
138
137
|
catch (...)
|
|
@@ -181,23 +180,20 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
181
180
|
{ }
|
|
182
181
|
};
|
|
183
182
|
|
|
184
|
-
static PyType_Slot _type_slots_AnimationDescription[] =
|
|
185
|
-
{
|
|
183
|
+
static PyType_Slot _type_slots_AnimationDescription[] = {
|
|
186
184
|
{ Py_tp_new, reinterpret_cast<void*>(_new_AnimationDescription) },
|
|
187
185
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AnimationDescription) },
|
|
188
186
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_AnimationDescription) },
|
|
189
187
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_AnimationDescription) },
|
|
190
|
-
{ }
|
|
188
|
+
{ }
|
|
191
189
|
};
|
|
192
190
|
|
|
193
|
-
static PyType_Spec type_spec_AnimationDescription =
|
|
194
|
-
{
|
|
191
|
+
static PyType_Spec type_spec_AnimationDescription = {
|
|
195
192
|
"winrt._winrt_windows_ui_core_animationmetrics.AnimationDescription",
|
|
196
193
|
sizeof(py::wrapper::Windows::UI::Core::AnimationMetrics::AnimationDescription),
|
|
197
194
|
0,
|
|
198
195
|
Py_TPFLAGS_DEFAULT,
|
|
199
|
-
_type_slots_AnimationDescription
|
|
200
|
-
};
|
|
196
|
+
_type_slots_AnimationDescription};
|
|
201
197
|
|
|
202
198
|
// ----- OpacityAnimation class --------------------
|
|
203
199
|
|
|
@@ -218,14 +214,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
218
214
|
|
|
219
215
|
static PyObject* OpacityAnimation_get_FinalOpacity(py::wrapper::Windows::UI::Core::AnimationMetrics::OpacityAnimation* self, void* /*unused*/) noexcept
|
|
220
216
|
{
|
|
221
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.OpacityAnimation", L"FinalOpacity"))
|
|
222
|
-
{
|
|
223
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
224
|
-
return nullptr;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
217
|
try
|
|
228
218
|
{
|
|
219
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.OpacityAnimation", L"FinalOpacity"))
|
|
220
|
+
{
|
|
221
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
222
|
+
return nullptr;
|
|
223
|
+
}
|
|
224
|
+
|
|
229
225
|
return py::convert(self->obj.FinalOpacity());
|
|
230
226
|
}
|
|
231
227
|
catch (...)
|
|
@@ -237,14 +233,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
237
233
|
|
|
238
234
|
static PyObject* OpacityAnimation_get_InitialOpacity(py::wrapper::Windows::UI::Core::AnimationMetrics::OpacityAnimation* self, void* /*unused*/) noexcept
|
|
239
235
|
{
|
|
240
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.OpacityAnimation", L"InitialOpacity"))
|
|
241
|
-
{
|
|
242
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
243
|
-
return nullptr;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
236
|
try
|
|
247
237
|
{
|
|
238
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.OpacityAnimation", L"InitialOpacity"))
|
|
239
|
+
{
|
|
240
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
241
|
+
return nullptr;
|
|
242
|
+
}
|
|
243
|
+
|
|
248
244
|
return py::convert(self->obj.InitialOpacity());
|
|
249
245
|
}
|
|
250
246
|
catch (...)
|
|
@@ -256,14 +252,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
256
252
|
|
|
257
253
|
static PyObject* OpacityAnimation_get_Control1(py::wrapper::Windows::UI::Core::AnimationMetrics::OpacityAnimation* self, void* /*unused*/) noexcept
|
|
258
254
|
{
|
|
259
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.OpacityAnimation", L"Control1"))
|
|
260
|
-
{
|
|
261
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
262
|
-
return nullptr;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
255
|
try
|
|
266
256
|
{
|
|
257
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.OpacityAnimation", L"Control1"))
|
|
258
|
+
{
|
|
259
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
260
|
+
return nullptr;
|
|
261
|
+
}
|
|
262
|
+
|
|
267
263
|
return py::convert(self->obj.Control1());
|
|
268
264
|
}
|
|
269
265
|
catch (...)
|
|
@@ -275,14 +271,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
275
271
|
|
|
276
272
|
static PyObject* OpacityAnimation_get_Control2(py::wrapper::Windows::UI::Core::AnimationMetrics::OpacityAnimation* self, void* /*unused*/) noexcept
|
|
277
273
|
{
|
|
278
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.OpacityAnimation", L"Control2"))
|
|
279
|
-
{
|
|
280
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
281
|
-
return nullptr;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
274
|
try
|
|
285
275
|
{
|
|
276
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.OpacityAnimation", L"Control2"))
|
|
277
|
+
{
|
|
278
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
279
|
+
return nullptr;
|
|
280
|
+
}
|
|
281
|
+
|
|
286
282
|
return py::convert(self->obj.Control2());
|
|
287
283
|
}
|
|
288
284
|
catch (...)
|
|
@@ -294,14 +290,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
294
290
|
|
|
295
291
|
static PyObject* OpacityAnimation_get_Delay(py::wrapper::Windows::UI::Core::AnimationMetrics::OpacityAnimation* self, void* /*unused*/) noexcept
|
|
296
292
|
{
|
|
297
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.OpacityAnimation", L"Delay"))
|
|
298
|
-
{
|
|
299
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
300
|
-
return nullptr;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
293
|
try
|
|
304
294
|
{
|
|
295
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.OpacityAnimation", L"Delay"))
|
|
296
|
+
{
|
|
297
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
298
|
+
return nullptr;
|
|
299
|
+
}
|
|
300
|
+
|
|
305
301
|
return py::convert(self->obj.Delay());
|
|
306
302
|
}
|
|
307
303
|
catch (...)
|
|
@@ -313,14 +309,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
313
309
|
|
|
314
310
|
static PyObject* OpacityAnimation_get_Duration(py::wrapper::Windows::UI::Core::AnimationMetrics::OpacityAnimation* self, void* /*unused*/) noexcept
|
|
315
311
|
{
|
|
316
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.OpacityAnimation", L"Duration"))
|
|
317
|
-
{
|
|
318
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
319
|
-
return nullptr;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
312
|
try
|
|
323
313
|
{
|
|
314
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.OpacityAnimation", L"Duration"))
|
|
315
|
+
{
|
|
316
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
317
|
+
return nullptr;
|
|
318
|
+
}
|
|
319
|
+
|
|
324
320
|
return py::convert(self->obj.Duration());
|
|
325
321
|
}
|
|
326
322
|
catch (...)
|
|
@@ -332,14 +328,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
332
328
|
|
|
333
329
|
static PyObject* OpacityAnimation_get_Type(py::wrapper::Windows::UI::Core::AnimationMetrics::OpacityAnimation* self, void* /*unused*/) noexcept
|
|
334
330
|
{
|
|
335
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.OpacityAnimation", L"Type"))
|
|
336
|
-
{
|
|
337
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
338
|
-
return nullptr;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
331
|
try
|
|
342
332
|
{
|
|
333
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.OpacityAnimation", L"Type"))
|
|
334
|
+
{
|
|
335
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
336
|
+
return nullptr;
|
|
337
|
+
}
|
|
338
|
+
|
|
343
339
|
return py::convert(self->obj.Type());
|
|
344
340
|
}
|
|
345
341
|
catch (...)
|
|
@@ -390,23 +386,20 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
390
386
|
{ }
|
|
391
387
|
};
|
|
392
388
|
|
|
393
|
-
static PyType_Slot _type_slots_OpacityAnimation[] =
|
|
394
|
-
{
|
|
389
|
+
static PyType_Slot _type_slots_OpacityAnimation[] = {
|
|
395
390
|
{ Py_tp_new, reinterpret_cast<void*>(_new_OpacityAnimation) },
|
|
396
391
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_OpacityAnimation) },
|
|
397
392
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_OpacityAnimation) },
|
|
398
393
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_OpacityAnimation) },
|
|
399
|
-
{ }
|
|
394
|
+
{ }
|
|
400
395
|
};
|
|
401
396
|
|
|
402
|
-
static PyType_Spec type_spec_OpacityAnimation =
|
|
403
|
-
{
|
|
397
|
+
static PyType_Spec type_spec_OpacityAnimation = {
|
|
404
398
|
"winrt._winrt_windows_ui_core_animationmetrics.OpacityAnimation",
|
|
405
399
|
sizeof(py::wrapper::Windows::UI::Core::AnimationMetrics::OpacityAnimation),
|
|
406
400
|
0,
|
|
407
401
|
Py_TPFLAGS_DEFAULT,
|
|
408
|
-
_type_slots_OpacityAnimation
|
|
409
|
-
};
|
|
402
|
+
_type_slots_OpacityAnimation};
|
|
410
403
|
|
|
411
404
|
// ----- PropertyAnimation class --------------------
|
|
412
405
|
|
|
@@ -427,14 +420,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
427
420
|
|
|
428
421
|
static PyObject* PropertyAnimation_get_Control1(py::wrapper::Windows::UI::Core::AnimationMetrics::PropertyAnimation* self, void* /*unused*/) noexcept
|
|
429
422
|
{
|
|
430
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.PropertyAnimation", L"Control1"))
|
|
431
|
-
{
|
|
432
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
433
|
-
return nullptr;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
423
|
try
|
|
437
424
|
{
|
|
425
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.PropertyAnimation", L"Control1"))
|
|
426
|
+
{
|
|
427
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
428
|
+
return nullptr;
|
|
429
|
+
}
|
|
430
|
+
|
|
438
431
|
return py::convert(self->obj.Control1());
|
|
439
432
|
}
|
|
440
433
|
catch (...)
|
|
@@ -446,14 +439,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
446
439
|
|
|
447
440
|
static PyObject* PropertyAnimation_get_Control2(py::wrapper::Windows::UI::Core::AnimationMetrics::PropertyAnimation* self, void* /*unused*/) noexcept
|
|
448
441
|
{
|
|
449
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.PropertyAnimation", L"Control2"))
|
|
450
|
-
{
|
|
451
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
452
|
-
return nullptr;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
442
|
try
|
|
456
443
|
{
|
|
444
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.PropertyAnimation", L"Control2"))
|
|
445
|
+
{
|
|
446
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
447
|
+
return nullptr;
|
|
448
|
+
}
|
|
449
|
+
|
|
457
450
|
return py::convert(self->obj.Control2());
|
|
458
451
|
}
|
|
459
452
|
catch (...)
|
|
@@ -465,14 +458,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
465
458
|
|
|
466
459
|
static PyObject* PropertyAnimation_get_Delay(py::wrapper::Windows::UI::Core::AnimationMetrics::PropertyAnimation* self, void* /*unused*/) noexcept
|
|
467
460
|
{
|
|
468
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.PropertyAnimation", L"Delay"))
|
|
469
|
-
{
|
|
470
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
471
|
-
return nullptr;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
461
|
try
|
|
475
462
|
{
|
|
463
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.PropertyAnimation", L"Delay"))
|
|
464
|
+
{
|
|
465
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
466
|
+
return nullptr;
|
|
467
|
+
}
|
|
468
|
+
|
|
476
469
|
return py::convert(self->obj.Delay());
|
|
477
470
|
}
|
|
478
471
|
catch (...)
|
|
@@ -484,14 +477,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
484
477
|
|
|
485
478
|
static PyObject* PropertyAnimation_get_Duration(py::wrapper::Windows::UI::Core::AnimationMetrics::PropertyAnimation* self, void* /*unused*/) noexcept
|
|
486
479
|
{
|
|
487
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.PropertyAnimation", L"Duration"))
|
|
488
|
-
{
|
|
489
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
490
|
-
return nullptr;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
480
|
try
|
|
494
481
|
{
|
|
482
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.PropertyAnimation", L"Duration"))
|
|
483
|
+
{
|
|
484
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
485
|
+
return nullptr;
|
|
486
|
+
}
|
|
487
|
+
|
|
495
488
|
return py::convert(self->obj.Duration());
|
|
496
489
|
}
|
|
497
490
|
catch (...)
|
|
@@ -503,14 +496,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
503
496
|
|
|
504
497
|
static PyObject* PropertyAnimation_get_Type(py::wrapper::Windows::UI::Core::AnimationMetrics::PropertyAnimation* self, void* /*unused*/) noexcept
|
|
505
498
|
{
|
|
506
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.PropertyAnimation", L"Type"))
|
|
507
|
-
{
|
|
508
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
509
|
-
return nullptr;
|
|
510
|
-
}
|
|
511
|
-
|
|
512
499
|
try
|
|
513
500
|
{
|
|
501
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.PropertyAnimation", L"Type"))
|
|
502
|
+
{
|
|
503
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
504
|
+
return nullptr;
|
|
505
|
+
}
|
|
506
|
+
|
|
514
507
|
return py::convert(self->obj.Type());
|
|
515
508
|
}
|
|
516
509
|
catch (...)
|
|
@@ -559,23 +552,20 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
559
552
|
{ }
|
|
560
553
|
};
|
|
561
554
|
|
|
562
|
-
static PyType_Slot _type_slots_PropertyAnimation[] =
|
|
563
|
-
{
|
|
555
|
+
static PyType_Slot _type_slots_PropertyAnimation[] = {
|
|
564
556
|
{ Py_tp_new, reinterpret_cast<void*>(_new_PropertyAnimation) },
|
|
565
557
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_PropertyAnimation) },
|
|
566
558
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_PropertyAnimation) },
|
|
567
559
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_PropertyAnimation) },
|
|
568
|
-
{ }
|
|
560
|
+
{ }
|
|
569
561
|
};
|
|
570
562
|
|
|
571
|
-
static PyType_Spec type_spec_PropertyAnimation =
|
|
572
|
-
{
|
|
563
|
+
static PyType_Spec type_spec_PropertyAnimation = {
|
|
573
564
|
"winrt._winrt_windows_ui_core_animationmetrics.PropertyAnimation",
|
|
574
565
|
sizeof(py::wrapper::Windows::UI::Core::AnimationMetrics::PropertyAnimation),
|
|
575
566
|
0,
|
|
576
567
|
Py_TPFLAGS_DEFAULT,
|
|
577
|
-
_type_slots_PropertyAnimation
|
|
578
|
-
};
|
|
568
|
+
_type_slots_PropertyAnimation};
|
|
579
569
|
|
|
580
570
|
// ----- ScaleAnimation class --------------------
|
|
581
571
|
|
|
@@ -596,14 +586,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
596
586
|
|
|
597
587
|
static PyObject* ScaleAnimation_get_Control1(py::wrapper::Windows::UI::Core::AnimationMetrics::ScaleAnimation* self, void* /*unused*/) noexcept
|
|
598
588
|
{
|
|
599
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.ScaleAnimation", L"Control1"))
|
|
600
|
-
{
|
|
601
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
602
|
-
return nullptr;
|
|
603
|
-
}
|
|
604
|
-
|
|
605
589
|
try
|
|
606
590
|
{
|
|
591
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.ScaleAnimation", L"Control1"))
|
|
592
|
+
{
|
|
593
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
594
|
+
return nullptr;
|
|
595
|
+
}
|
|
596
|
+
|
|
607
597
|
return py::convert(self->obj.Control1());
|
|
608
598
|
}
|
|
609
599
|
catch (...)
|
|
@@ -615,14 +605,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
615
605
|
|
|
616
606
|
static PyObject* ScaleAnimation_get_Control2(py::wrapper::Windows::UI::Core::AnimationMetrics::ScaleAnimation* self, void* /*unused*/) noexcept
|
|
617
607
|
{
|
|
618
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.ScaleAnimation", L"Control2"))
|
|
619
|
-
{
|
|
620
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
621
|
-
return nullptr;
|
|
622
|
-
}
|
|
623
|
-
|
|
624
608
|
try
|
|
625
609
|
{
|
|
610
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.ScaleAnimation", L"Control2"))
|
|
611
|
+
{
|
|
612
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
613
|
+
return nullptr;
|
|
614
|
+
}
|
|
615
|
+
|
|
626
616
|
return py::convert(self->obj.Control2());
|
|
627
617
|
}
|
|
628
618
|
catch (...)
|
|
@@ -634,14 +624,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
634
624
|
|
|
635
625
|
static PyObject* ScaleAnimation_get_Delay(py::wrapper::Windows::UI::Core::AnimationMetrics::ScaleAnimation* self, void* /*unused*/) noexcept
|
|
636
626
|
{
|
|
637
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.ScaleAnimation", L"Delay"))
|
|
638
|
-
{
|
|
639
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
640
|
-
return nullptr;
|
|
641
|
-
}
|
|
642
|
-
|
|
643
627
|
try
|
|
644
628
|
{
|
|
629
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.ScaleAnimation", L"Delay"))
|
|
630
|
+
{
|
|
631
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
632
|
+
return nullptr;
|
|
633
|
+
}
|
|
634
|
+
|
|
645
635
|
return py::convert(self->obj.Delay());
|
|
646
636
|
}
|
|
647
637
|
catch (...)
|
|
@@ -653,14 +643,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
653
643
|
|
|
654
644
|
static PyObject* ScaleAnimation_get_Duration(py::wrapper::Windows::UI::Core::AnimationMetrics::ScaleAnimation* self, void* /*unused*/) noexcept
|
|
655
645
|
{
|
|
656
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.ScaleAnimation", L"Duration"))
|
|
657
|
-
{
|
|
658
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
659
|
-
return nullptr;
|
|
660
|
-
}
|
|
661
|
-
|
|
662
646
|
try
|
|
663
647
|
{
|
|
648
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.ScaleAnimation", L"Duration"))
|
|
649
|
+
{
|
|
650
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
651
|
+
return nullptr;
|
|
652
|
+
}
|
|
653
|
+
|
|
664
654
|
return py::convert(self->obj.Duration());
|
|
665
655
|
}
|
|
666
656
|
catch (...)
|
|
@@ -672,14 +662,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
672
662
|
|
|
673
663
|
static PyObject* ScaleAnimation_get_Type(py::wrapper::Windows::UI::Core::AnimationMetrics::ScaleAnimation* self, void* /*unused*/) noexcept
|
|
674
664
|
{
|
|
675
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.ScaleAnimation", L"Type"))
|
|
676
|
-
{
|
|
677
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
678
|
-
return nullptr;
|
|
679
|
-
}
|
|
680
|
-
|
|
681
665
|
try
|
|
682
666
|
{
|
|
667
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.ScaleAnimation", L"Type"))
|
|
668
|
+
{
|
|
669
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
670
|
+
return nullptr;
|
|
671
|
+
}
|
|
672
|
+
|
|
683
673
|
return py::convert(self->obj.Type());
|
|
684
674
|
}
|
|
685
675
|
catch (...)
|
|
@@ -691,14 +681,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
691
681
|
|
|
692
682
|
static PyObject* ScaleAnimation_get_FinalScaleX(py::wrapper::Windows::UI::Core::AnimationMetrics::ScaleAnimation* self, void* /*unused*/) noexcept
|
|
693
683
|
{
|
|
694
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.ScaleAnimation", L"FinalScaleX"))
|
|
695
|
-
{
|
|
696
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
697
|
-
return nullptr;
|
|
698
|
-
}
|
|
699
|
-
|
|
700
684
|
try
|
|
701
685
|
{
|
|
686
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.ScaleAnimation", L"FinalScaleX"))
|
|
687
|
+
{
|
|
688
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
689
|
+
return nullptr;
|
|
690
|
+
}
|
|
691
|
+
|
|
702
692
|
return py::convert(self->obj.FinalScaleX());
|
|
703
693
|
}
|
|
704
694
|
catch (...)
|
|
@@ -710,14 +700,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
710
700
|
|
|
711
701
|
static PyObject* ScaleAnimation_get_FinalScaleY(py::wrapper::Windows::UI::Core::AnimationMetrics::ScaleAnimation* self, void* /*unused*/) noexcept
|
|
712
702
|
{
|
|
713
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.ScaleAnimation", L"FinalScaleY"))
|
|
714
|
-
{
|
|
715
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
716
|
-
return nullptr;
|
|
717
|
-
}
|
|
718
|
-
|
|
719
703
|
try
|
|
720
704
|
{
|
|
705
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.ScaleAnimation", L"FinalScaleY"))
|
|
706
|
+
{
|
|
707
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
708
|
+
return nullptr;
|
|
709
|
+
}
|
|
710
|
+
|
|
721
711
|
return py::convert(self->obj.FinalScaleY());
|
|
722
712
|
}
|
|
723
713
|
catch (...)
|
|
@@ -729,14 +719,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
729
719
|
|
|
730
720
|
static PyObject* ScaleAnimation_get_InitialScaleX(py::wrapper::Windows::UI::Core::AnimationMetrics::ScaleAnimation* self, void* /*unused*/) noexcept
|
|
731
721
|
{
|
|
732
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.ScaleAnimation", L"InitialScaleX"))
|
|
733
|
-
{
|
|
734
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
735
|
-
return nullptr;
|
|
736
|
-
}
|
|
737
|
-
|
|
738
722
|
try
|
|
739
723
|
{
|
|
724
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.ScaleAnimation", L"InitialScaleX"))
|
|
725
|
+
{
|
|
726
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
727
|
+
return nullptr;
|
|
728
|
+
}
|
|
729
|
+
|
|
740
730
|
return py::convert(self->obj.InitialScaleX());
|
|
741
731
|
}
|
|
742
732
|
catch (...)
|
|
@@ -748,14 +738,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
748
738
|
|
|
749
739
|
static PyObject* ScaleAnimation_get_InitialScaleY(py::wrapper::Windows::UI::Core::AnimationMetrics::ScaleAnimation* self, void* /*unused*/) noexcept
|
|
750
740
|
{
|
|
751
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.ScaleAnimation", L"InitialScaleY"))
|
|
752
|
-
{
|
|
753
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
754
|
-
return nullptr;
|
|
755
|
-
}
|
|
756
|
-
|
|
757
741
|
try
|
|
758
742
|
{
|
|
743
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.ScaleAnimation", L"InitialScaleY"))
|
|
744
|
+
{
|
|
745
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
746
|
+
return nullptr;
|
|
747
|
+
}
|
|
748
|
+
|
|
759
749
|
return py::convert(self->obj.InitialScaleY());
|
|
760
750
|
}
|
|
761
751
|
catch (...)
|
|
@@ -767,14 +757,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
767
757
|
|
|
768
758
|
static PyObject* ScaleAnimation_get_NormalizedOrigin(py::wrapper::Windows::UI::Core::AnimationMetrics::ScaleAnimation* self, void* /*unused*/) noexcept
|
|
769
759
|
{
|
|
770
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.ScaleAnimation", L"NormalizedOrigin"))
|
|
771
|
-
{
|
|
772
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
773
|
-
return nullptr;
|
|
774
|
-
}
|
|
775
|
-
|
|
776
760
|
try
|
|
777
761
|
{
|
|
762
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.ScaleAnimation", L"NormalizedOrigin"))
|
|
763
|
+
{
|
|
764
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
765
|
+
return nullptr;
|
|
766
|
+
}
|
|
767
|
+
|
|
778
768
|
return py::convert(self->obj.NormalizedOrigin());
|
|
779
769
|
}
|
|
780
770
|
catch (...)
|
|
@@ -828,23 +818,20 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
828
818
|
{ }
|
|
829
819
|
};
|
|
830
820
|
|
|
831
|
-
static PyType_Slot _type_slots_ScaleAnimation[] =
|
|
832
|
-
{
|
|
821
|
+
static PyType_Slot _type_slots_ScaleAnimation[] = {
|
|
833
822
|
{ Py_tp_new, reinterpret_cast<void*>(_new_ScaleAnimation) },
|
|
834
823
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_ScaleAnimation) },
|
|
835
824
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_ScaleAnimation) },
|
|
836
825
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_ScaleAnimation) },
|
|
837
|
-
{ }
|
|
826
|
+
{ }
|
|
838
827
|
};
|
|
839
828
|
|
|
840
|
-
static PyType_Spec type_spec_ScaleAnimation =
|
|
841
|
-
{
|
|
829
|
+
static PyType_Spec type_spec_ScaleAnimation = {
|
|
842
830
|
"winrt._winrt_windows_ui_core_animationmetrics.ScaleAnimation",
|
|
843
831
|
sizeof(py::wrapper::Windows::UI::Core::AnimationMetrics::ScaleAnimation),
|
|
844
832
|
0,
|
|
845
833
|
Py_TPFLAGS_DEFAULT,
|
|
846
|
-
_type_slots_ScaleAnimation
|
|
847
|
-
};
|
|
834
|
+
_type_slots_ScaleAnimation};
|
|
848
835
|
|
|
849
836
|
// ----- TranslationAnimation class --------------------
|
|
850
837
|
|
|
@@ -865,14 +852,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
865
852
|
|
|
866
853
|
static PyObject* TranslationAnimation_get_Control1(py::wrapper::Windows::UI::Core::AnimationMetrics::TranslationAnimation* self, void* /*unused*/) noexcept
|
|
867
854
|
{
|
|
868
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.TranslationAnimation", L"Control1"))
|
|
869
|
-
{
|
|
870
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
871
|
-
return nullptr;
|
|
872
|
-
}
|
|
873
|
-
|
|
874
855
|
try
|
|
875
856
|
{
|
|
857
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.TranslationAnimation", L"Control1"))
|
|
858
|
+
{
|
|
859
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
860
|
+
return nullptr;
|
|
861
|
+
}
|
|
862
|
+
|
|
876
863
|
return py::convert(self->obj.Control1());
|
|
877
864
|
}
|
|
878
865
|
catch (...)
|
|
@@ -884,14 +871,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
884
871
|
|
|
885
872
|
static PyObject* TranslationAnimation_get_Control2(py::wrapper::Windows::UI::Core::AnimationMetrics::TranslationAnimation* self, void* /*unused*/) noexcept
|
|
886
873
|
{
|
|
887
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.TranslationAnimation", L"Control2"))
|
|
888
|
-
{
|
|
889
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
890
|
-
return nullptr;
|
|
891
|
-
}
|
|
892
|
-
|
|
893
874
|
try
|
|
894
875
|
{
|
|
876
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.TranslationAnimation", L"Control2"))
|
|
877
|
+
{
|
|
878
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
879
|
+
return nullptr;
|
|
880
|
+
}
|
|
881
|
+
|
|
895
882
|
return py::convert(self->obj.Control2());
|
|
896
883
|
}
|
|
897
884
|
catch (...)
|
|
@@ -903,14 +890,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
903
890
|
|
|
904
891
|
static PyObject* TranslationAnimation_get_Delay(py::wrapper::Windows::UI::Core::AnimationMetrics::TranslationAnimation* self, void* /*unused*/) noexcept
|
|
905
892
|
{
|
|
906
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.TranslationAnimation", L"Delay"))
|
|
907
|
-
{
|
|
908
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
909
|
-
return nullptr;
|
|
910
|
-
}
|
|
911
|
-
|
|
912
893
|
try
|
|
913
894
|
{
|
|
895
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.TranslationAnimation", L"Delay"))
|
|
896
|
+
{
|
|
897
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
898
|
+
return nullptr;
|
|
899
|
+
}
|
|
900
|
+
|
|
914
901
|
return py::convert(self->obj.Delay());
|
|
915
902
|
}
|
|
916
903
|
catch (...)
|
|
@@ -922,14 +909,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
922
909
|
|
|
923
910
|
static PyObject* TranslationAnimation_get_Duration(py::wrapper::Windows::UI::Core::AnimationMetrics::TranslationAnimation* self, void* /*unused*/) noexcept
|
|
924
911
|
{
|
|
925
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.TranslationAnimation", L"Duration"))
|
|
926
|
-
{
|
|
927
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
928
|
-
return nullptr;
|
|
929
|
-
}
|
|
930
|
-
|
|
931
912
|
try
|
|
932
913
|
{
|
|
914
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.TranslationAnimation", L"Duration"))
|
|
915
|
+
{
|
|
916
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
917
|
+
return nullptr;
|
|
918
|
+
}
|
|
919
|
+
|
|
933
920
|
return py::convert(self->obj.Duration());
|
|
934
921
|
}
|
|
935
922
|
catch (...)
|
|
@@ -941,14 +928,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
941
928
|
|
|
942
929
|
static PyObject* TranslationAnimation_get_Type(py::wrapper::Windows::UI::Core::AnimationMetrics::TranslationAnimation* self, void* /*unused*/) noexcept
|
|
943
930
|
{
|
|
944
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.TranslationAnimation", L"Type"))
|
|
945
|
-
{
|
|
946
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
947
|
-
return nullptr;
|
|
948
|
-
}
|
|
949
|
-
|
|
950
931
|
try
|
|
951
932
|
{
|
|
933
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.TranslationAnimation", L"Type"))
|
|
934
|
+
{
|
|
935
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
936
|
+
return nullptr;
|
|
937
|
+
}
|
|
938
|
+
|
|
952
939
|
return py::convert(self->obj.Type());
|
|
953
940
|
}
|
|
954
941
|
catch (...)
|
|
@@ -997,23 +984,20 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
997
984
|
{ }
|
|
998
985
|
};
|
|
999
986
|
|
|
1000
|
-
static PyType_Slot _type_slots_TranslationAnimation[] =
|
|
1001
|
-
{
|
|
987
|
+
static PyType_Slot _type_slots_TranslationAnimation[] = {
|
|
1002
988
|
{ Py_tp_new, reinterpret_cast<void*>(_new_TranslationAnimation) },
|
|
1003
989
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_TranslationAnimation) },
|
|
1004
990
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_TranslationAnimation) },
|
|
1005
991
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_TranslationAnimation) },
|
|
1006
|
-
{ }
|
|
992
|
+
{ }
|
|
1007
993
|
};
|
|
1008
994
|
|
|
1009
|
-
static PyType_Spec type_spec_TranslationAnimation =
|
|
1010
|
-
{
|
|
995
|
+
static PyType_Spec type_spec_TranslationAnimation = {
|
|
1011
996
|
"winrt._winrt_windows_ui_core_animationmetrics.TranslationAnimation",
|
|
1012
997
|
sizeof(py::wrapper::Windows::UI::Core::AnimationMetrics::TranslationAnimation),
|
|
1013
998
|
0,
|
|
1014
999
|
Py_TPFLAGS_DEFAULT,
|
|
1015
|
-
_type_slots_TranslationAnimation
|
|
1016
|
-
};
|
|
1000
|
+
_type_slots_TranslationAnimation};
|
|
1017
1001
|
|
|
1018
1002
|
// ----- IPropertyAnimation interface --------------------
|
|
1019
1003
|
|
|
@@ -1034,14 +1018,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
1034
1018
|
|
|
1035
1019
|
static PyObject* IPropertyAnimation_get_Control1(py::wrapper::Windows::UI::Core::AnimationMetrics::IPropertyAnimation* self, void* /*unused*/) noexcept
|
|
1036
1020
|
{
|
|
1037
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.IPropertyAnimation", L"Control1"))
|
|
1038
|
-
{
|
|
1039
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1040
|
-
return nullptr;
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
1021
|
try
|
|
1044
1022
|
{
|
|
1023
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.IPropertyAnimation", L"Control1"))
|
|
1024
|
+
{
|
|
1025
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1026
|
+
return nullptr;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1045
1029
|
return py::convert(self->obj.Control1());
|
|
1046
1030
|
}
|
|
1047
1031
|
catch (...)
|
|
@@ -1053,14 +1037,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
1053
1037
|
|
|
1054
1038
|
static PyObject* IPropertyAnimation_get_Control2(py::wrapper::Windows::UI::Core::AnimationMetrics::IPropertyAnimation* self, void* /*unused*/) noexcept
|
|
1055
1039
|
{
|
|
1056
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.IPropertyAnimation", L"Control2"))
|
|
1057
|
-
{
|
|
1058
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1059
|
-
return nullptr;
|
|
1060
|
-
}
|
|
1061
|
-
|
|
1062
1040
|
try
|
|
1063
1041
|
{
|
|
1042
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.IPropertyAnimation", L"Control2"))
|
|
1043
|
+
{
|
|
1044
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1045
|
+
return nullptr;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1064
1048
|
return py::convert(self->obj.Control2());
|
|
1065
1049
|
}
|
|
1066
1050
|
catch (...)
|
|
@@ -1072,14 +1056,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
1072
1056
|
|
|
1073
1057
|
static PyObject* IPropertyAnimation_get_Delay(py::wrapper::Windows::UI::Core::AnimationMetrics::IPropertyAnimation* self, void* /*unused*/) noexcept
|
|
1074
1058
|
{
|
|
1075
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.IPropertyAnimation", L"Delay"))
|
|
1076
|
-
{
|
|
1077
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1078
|
-
return nullptr;
|
|
1079
|
-
}
|
|
1080
|
-
|
|
1081
1059
|
try
|
|
1082
1060
|
{
|
|
1061
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.IPropertyAnimation", L"Delay"))
|
|
1062
|
+
{
|
|
1063
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1064
|
+
return nullptr;
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1083
1067
|
return py::convert(self->obj.Delay());
|
|
1084
1068
|
}
|
|
1085
1069
|
catch (...)
|
|
@@ -1091,14 +1075,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
1091
1075
|
|
|
1092
1076
|
static PyObject* IPropertyAnimation_get_Duration(py::wrapper::Windows::UI::Core::AnimationMetrics::IPropertyAnimation* self, void* /*unused*/) noexcept
|
|
1093
1077
|
{
|
|
1094
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.IPropertyAnimation", L"Duration"))
|
|
1095
|
-
{
|
|
1096
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1097
|
-
return nullptr;
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
1078
|
try
|
|
1101
1079
|
{
|
|
1080
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.IPropertyAnimation", L"Duration"))
|
|
1081
|
+
{
|
|
1082
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1083
|
+
return nullptr;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1102
1086
|
return py::convert(self->obj.Duration());
|
|
1103
1087
|
}
|
|
1104
1088
|
catch (...)
|
|
@@ -1110,14 +1094,14 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
1110
1094
|
|
|
1111
1095
|
static PyObject* IPropertyAnimation_get_Type(py::wrapper::Windows::UI::Core::AnimationMetrics::IPropertyAnimation* self, void* /*unused*/) noexcept
|
|
1112
1096
|
{
|
|
1113
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.IPropertyAnimation", L"Type"))
|
|
1114
|
-
{
|
|
1115
|
-
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1116
|
-
return nullptr;
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
1097
|
try
|
|
1120
1098
|
{
|
|
1099
|
+
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Core.AnimationMetrics.IPropertyAnimation", L"Type"))
|
|
1100
|
+
{
|
|
1101
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1102
|
+
return nullptr;
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1121
1105
|
return py::convert(self->obj.Type());
|
|
1122
1106
|
}
|
|
1123
1107
|
catch (...)
|
|
@@ -1166,39 +1150,35 @@ namespace py::cpp::Windows::UI::Core::AnimationMetrics
|
|
|
1166
1150
|
{ }
|
|
1167
1151
|
};
|
|
1168
1152
|
|
|
1169
|
-
static PyType_Slot _type_slots_IPropertyAnimation[] =
|
|
1170
|
-
{
|
|
1153
|
+
static PyType_Slot _type_slots_IPropertyAnimation[] = {
|
|
1171
1154
|
{ Py_tp_new, reinterpret_cast<void*>(_new_IPropertyAnimation) },
|
|
1172
1155
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_IPropertyAnimation) },
|
|
1173
1156
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_IPropertyAnimation) },
|
|
1174
1157
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_IPropertyAnimation) },
|
|
1175
|
-
{ }
|
|
1158
|
+
{ }
|
|
1176
1159
|
};
|
|
1177
1160
|
|
|
1178
|
-
static PyType_Spec type_spec_IPropertyAnimation =
|
|
1179
|
-
{
|
|
1161
|
+
static PyType_Spec type_spec_IPropertyAnimation = {
|
|
1180
1162
|
"winrt._winrt_windows_ui_core_animationmetrics.IPropertyAnimation",
|
|
1181
1163
|
sizeof(py::wrapper::Windows::UI::Core::AnimationMetrics::IPropertyAnimation),
|
|
1182
1164
|
0,
|
|
1183
1165
|
Py_TPFLAGS_DEFAULT,
|
|
1184
|
-
_type_slots_IPropertyAnimation
|
|
1185
|
-
};
|
|
1166
|
+
_type_slots_IPropertyAnimation};
|
|
1186
1167
|
|
|
1187
1168
|
// ----- Windows.UI.Core.AnimationMetrics Initialization --------------------
|
|
1188
|
-
PyDoc_STRVAR(module_doc, "Windows::UI::Core::AnimationMetrics");
|
|
1189
1169
|
|
|
1170
|
+
PyDoc_STRVAR(module_doc, "Windows.UI.Core.AnimationMetrics");
|
|
1190
1171
|
|
|
1191
|
-
static PyModuleDef module_def
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1172
|
+
static PyModuleDef module_def = {
|
|
1173
|
+
PyModuleDef_HEAD_INIT,
|
|
1174
|
+
"_winrt_windows_ui_core_animationmetrics",
|
|
1175
|
+
module_doc,
|
|
1176
|
+
0,
|
|
1177
|
+
nullptr,
|
|
1178
|
+
nullptr,
|
|
1179
|
+
nullptr,
|
|
1180
|
+
nullptr,
|
|
1181
|
+
nullptr};
|
|
1202
1182
|
} // py::cpp::Windows::UI::Core::AnimationMetrics
|
|
1203
1183
|
|
|
1204
1184
|
PyMODINIT_FUNC PyInit__winrt_windows_ui_core_animationmetrics(void) noexcept
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.1.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.0
|
|
3
|
+
winrt-runtime==2.1.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -9,8 +9,8 @@ from builtins import property as _property
|
|
|
9
9
|
|
|
10
10
|
import winrt._winrt
|
|
11
11
|
import winrt.system
|
|
12
|
-
import winrt.windows.foundation
|
|
13
|
-
import winrt.windows.foundation.collections
|
|
12
|
+
import winrt.windows.foundation as windows_foundation
|
|
13
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
14
14
|
|
|
15
15
|
from winrt.windows.ui.core.animationmetrics import AnimationEffect, AnimationEffectTarget, PropertyAnimationType
|
|
16
16
|
|
|
@@ -20,9 +20,9 @@ Self = typing.TypeVar('Self')
|
|
|
20
20
|
class AnimationDescription(winrt.system.Object):
|
|
21
21
|
@staticmethod
|
|
22
22
|
def _from(obj: winrt.system.Object, /) -> AnimationDescription: ...
|
|
23
|
-
def __new__(cls: typing.Type[AnimationDescription], effect: AnimationEffect, target: AnimationEffectTarget) -> AnimationDescription
|
|
23
|
+
def __new__(cls: typing.Type[AnimationDescription], effect: AnimationEffect, target: AnimationEffectTarget) -> AnimationDescription: ...
|
|
24
24
|
@_property
|
|
25
|
-
def animations(self) -> typing.Optional[
|
|
25
|
+
def animations(self) -> typing.Optional[windows_foundation_collections.IVectorView[IPropertyAnimation]]: ...
|
|
26
26
|
@_property
|
|
27
27
|
def delay_limit(self) -> datetime.timedelta: ...
|
|
28
28
|
@_property
|
|
@@ -41,9 +41,9 @@ class OpacityAnimation(winrt.system.Object):
|
|
|
41
41
|
@_property
|
|
42
42
|
def initial_opacity(self) -> typing.Optional[typing.Optional[winrt.system.Single]]: ...
|
|
43
43
|
@_property
|
|
44
|
-
def control1(self) ->
|
|
44
|
+
def control1(self) -> windows_foundation.Point: ...
|
|
45
45
|
@_property
|
|
46
|
-
def control2(self) ->
|
|
46
|
+
def control2(self) -> windows_foundation.Point: ...
|
|
47
47
|
@_property
|
|
48
48
|
def delay(self) -> datetime.timedelta: ...
|
|
49
49
|
@_property
|
|
@@ -56,9 +56,9 @@ class PropertyAnimation(winrt.system.Object):
|
|
|
56
56
|
@staticmethod
|
|
57
57
|
def _from(obj: winrt.system.Object, /) -> PropertyAnimation: ...
|
|
58
58
|
@_property
|
|
59
|
-
def control1(self) ->
|
|
59
|
+
def control1(self) -> windows_foundation.Point: ...
|
|
60
60
|
@_property
|
|
61
|
-
def control2(self) ->
|
|
61
|
+
def control2(self) -> windows_foundation.Point: ...
|
|
62
62
|
@_property
|
|
63
63
|
def delay(self) -> datetime.timedelta: ...
|
|
64
64
|
@_property
|
|
@@ -71,9 +71,9 @@ class ScaleAnimation(winrt.system.Object):
|
|
|
71
71
|
@staticmethod
|
|
72
72
|
def _from(obj: winrt.system.Object, /) -> ScaleAnimation: ...
|
|
73
73
|
@_property
|
|
74
|
-
def control1(self) ->
|
|
74
|
+
def control1(self) -> windows_foundation.Point: ...
|
|
75
75
|
@_property
|
|
76
|
-
def control2(self) ->
|
|
76
|
+
def control2(self) -> windows_foundation.Point: ...
|
|
77
77
|
@_property
|
|
78
78
|
def delay(self) -> datetime.timedelta: ...
|
|
79
79
|
@_property
|
|
@@ -89,16 +89,16 @@ class ScaleAnimation(winrt.system.Object):
|
|
|
89
89
|
@_property
|
|
90
90
|
def initial_scale_y(self) -> typing.Optional[typing.Optional[winrt.system.Single]]: ...
|
|
91
91
|
@_property
|
|
92
|
-
def normalized_origin(self) ->
|
|
92
|
+
def normalized_origin(self) -> windows_foundation.Point: ...
|
|
93
93
|
|
|
94
94
|
@typing.final
|
|
95
95
|
class TranslationAnimation(winrt.system.Object):
|
|
96
96
|
@staticmethod
|
|
97
97
|
def _from(obj: winrt.system.Object, /) -> TranslationAnimation: ...
|
|
98
98
|
@_property
|
|
99
|
-
def control1(self) ->
|
|
99
|
+
def control1(self) -> windows_foundation.Point: ...
|
|
100
100
|
@_property
|
|
101
|
-
def control2(self) ->
|
|
101
|
+
def control2(self) -> windows_foundation.Point: ...
|
|
102
102
|
@_property
|
|
103
103
|
def delay(self) -> datetime.timedelta: ...
|
|
104
104
|
@_property
|
|
@@ -111,9 +111,9 @@ class IPropertyAnimation(winrt.system.Object):
|
|
|
111
111
|
@staticmethod
|
|
112
112
|
def _from(obj: winrt.system.Object, /) -> IPropertyAnimation: ...
|
|
113
113
|
@_property
|
|
114
|
-
def control1(self) ->
|
|
114
|
+
def control1(self) -> windows_foundation.Point: ...
|
|
115
115
|
@_property
|
|
116
|
-
def control2(self) ->
|
|
116
|
+
def control2(self) -> windows_foundation.Point: ...
|
|
117
117
|
@_property
|
|
118
118
|
def delay(self) -> datetime.timedelta: ...
|
|
119
119
|
@_property
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.UI.Core.AnimationMetrics
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -12,10 +12,10 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Requires-Python: <3.13,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.0
|
|
15
|
+
Requires-Dist: winrt-runtime==2.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.0
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.1.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|