winrt-Windows.UI.Xaml.Controls.Primitives 2.0.0b1__tar.gz → 2.0.1__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_xaml_controls_primitives-2.0.1/PKG-INFO +34 -0
- winrt_windows_ui_xaml_controls_primitives-2.0.1/all-requirements.txt +12 -0
- {winrt-Windows.UI.Xaml.Controls.Primitives-2.0.0b1 → winrt_windows_ui_xaml_controls_primitives-2.0.1}/py.Windows.UI.Xaml.Controls.Primitives.cpp +1 -258
- {winrt-Windows.UI.Xaml.Controls.Primitives-2.0.0b1 → winrt_windows_ui_xaml_controls_primitives-2.0.1}/pyproject.toml +7 -4
- winrt_windows_ui_xaml_controls_primitives-2.0.1/pywinrt-version.txt +1 -0
- {winrt-Windows.UI.Xaml.Controls.Primitives-2.0.0b1 → winrt_windows_ui_xaml_controls_primitives-2.0.1}/requirements.txt +2 -2
- winrt_windows_ui_xaml_controls_primitives-2.0.1/setup.py +31 -0
- {winrt-Windows.UI.Xaml.Controls.Primitives-2.0.0b1 → winrt_windows_ui_xaml_controls_primitives-2.0.1}/winrt/_winrt_windows_ui_xaml_controls_primitives.pyi +81 -9
- {winrt-Windows.UI.Xaml.Controls.Primitives-2.0.0b1 → winrt_windows_ui_xaml_controls_primitives-2.0.1}/winrt/windows/ui/xaml/controls/primitives/__init__.py +1 -1
- winrt_windows_ui_xaml_controls_primitives-2.0.1/winrt/windows/ui/xaml/controls/primitives/py.typed +0 -0
- winrt_windows_ui_xaml_controls_primitives-2.0.1/winrt_Windows.UI.Xaml.Controls.Primitives.egg-info/PKG-INFO +34 -0
- {winrt-Windows.UI.Xaml.Controls.Primitives-2.0.0b1 → winrt_windows_ui_xaml_controls_primitives-2.0.1}/winrt_Windows.UI.Xaml.Controls.Primitives.egg-info/SOURCES.txt +1 -0
- winrt_windows_ui_xaml_controls_primitives-2.0.1/winrt_Windows.UI.Xaml.Controls.Primitives.egg-info/requires.txt +13 -0
- winrt-Windows.UI.Xaml.Controls.Primitives-2.0.0b1/PKG-INFO +0 -22
- winrt-Windows.UI.Xaml.Controls.Primitives-2.0.0b1/all-requirements.txt +0 -12
- winrt-Windows.UI.Xaml.Controls.Primitives-2.0.0b1/pywinrt-version.txt +0 -1
- winrt-Windows.UI.Xaml.Controls.Primitives-2.0.0b1/setup.py +0 -17
- winrt-Windows.UI.Xaml.Controls.Primitives-2.0.0b1/winrt_Windows.UI.Xaml.Controls.Primitives.egg-info/PKG-INFO +0 -22
- winrt-Windows.UI.Xaml.Controls.Primitives-2.0.0b1/winrt_Windows.UI.Xaml.Controls.Primitives.egg-info/requires.txt +0 -13
- {winrt-Windows.UI.Xaml.Controls.Primitives-2.0.0b1 → winrt_windows_ui_xaml_controls_primitives-2.0.1}/README.md +0 -0
- {winrt-Windows.UI.Xaml.Controls.Primitives-2.0.0b1 → winrt_windows_ui_xaml_controls_primitives-2.0.1}/setup.cfg +0 -0
- {winrt-Windows.UI.Xaml.Controls.Primitives-2.0.0b1 → winrt_windows_ui_xaml_controls_primitives-2.0.1}/winrt_Windows.UI.Xaml.Controls.Primitives.egg-info/dependency_links.txt +0 -0
- {winrt-Windows.UI.Xaml.Controls.Primitives-2.0.0b1 → winrt_windows_ui_xaml_controls_primitives-2.0.1}/winrt_Windows.UI.Xaml.Controls.Primitives.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.UI.Xaml.Controls.Primitives
|
|
3
|
+
Version: 2.0.1
|
|
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.13,>=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==2.0.1
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.0.1; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.UI[all]==2.0.1; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.UI.Xaml[all]==2.0.1; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.UI.Xaml.Controls[all]==2.0.1; extra == "all"
|
|
23
|
+
Requires-Dist: winrt-Windows.UI.Xaml.Input[all]==2.0.1; extra == "all"
|
|
24
|
+
Requires-Dist: winrt-Windows.UI.Xaml.Interop[all]==2.0.1; extra == "all"
|
|
25
|
+
Requires-Dist: winrt-Windows.UI.Xaml.Media[all]==2.0.1; extra == "all"
|
|
26
|
+
Requires-Dist: winrt-Windows.UI.Xaml.Media.Animation[all]==2.0.1; extra == "all"
|
|
27
|
+
|
|
28
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
29
|
+
|
|
30
|
+
# winrt-Windows.UI.Xaml.Controls.Primitives
|
|
31
|
+
|
|
32
|
+
Windows Runtime (WinRT) APIs for for the `Windows.UI.Xaml.Controls.Primitives` namespace.
|
|
33
|
+
|
|
34
|
+
This package provides the `winrt.windows.ui.xaml.controls.primitives` module.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
|
|
2
|
+
|
|
3
|
+
winrt-Windows.Foundation[all]==2.0.1
|
|
4
|
+
winrt-Windows.Foundation.Collections[all]==2.0.1
|
|
5
|
+
winrt-Windows.Foundation.Numerics[all]==2.0.1
|
|
6
|
+
winrt-Windows.UI[all]==2.0.1
|
|
7
|
+
winrt-Windows.UI.Xaml[all]==2.0.1
|
|
8
|
+
winrt-Windows.UI.Xaml.Controls[all]==2.0.1
|
|
9
|
+
winrt-Windows.UI.Xaml.Input[all]==2.0.1
|
|
10
|
+
winrt-Windows.UI.Xaml.Interop[all]==2.0.1
|
|
11
|
+
winrt-Windows.UI.Xaml.Media[all]==2.0.1
|
|
12
|
+
winrt-Windows.UI.Xaml.Media.Animation[all]==2.0.1
|
|
@@ -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.0.1
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.UI.Xaml.Controls.Primitives.h"
|
|
4
4
|
|
|
@@ -4893,35 +4893,6 @@ namespace py::cpp::Windows::UI::Xaml::Controls::Primitives
|
|
|
4893
4893
|
Py_DECREF(tp);
|
|
4894
4894
|
}
|
|
4895
4895
|
|
|
4896
|
-
static PyObject* FlyoutBase_CreatePresenter(py::wrapper::Windows::UI::Xaml::Controls::Primitives::FlyoutBase* self, PyObject* args) noexcept
|
|
4897
|
-
{
|
|
4898
|
-
auto arg_count = PyTuple_Size(args);
|
|
4899
|
-
|
|
4900
|
-
if (arg_count == 0)
|
|
4901
|
-
{
|
|
4902
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Controls.Primitives.FlyoutBase", L"CreatePresenter", 0))
|
|
4903
|
-
{
|
|
4904
|
-
py::set_arg_count_version_error(0);
|
|
4905
|
-
return nullptr;
|
|
4906
|
-
}
|
|
4907
|
-
|
|
4908
|
-
try
|
|
4909
|
-
{
|
|
4910
|
-
return py::convert(self->obj.CreatePresenter());
|
|
4911
|
-
}
|
|
4912
|
-
catch (...)
|
|
4913
|
-
{
|
|
4914
|
-
py::to_PyErr();
|
|
4915
|
-
return nullptr;
|
|
4916
|
-
}
|
|
4917
|
-
}
|
|
4918
|
-
else
|
|
4919
|
-
{
|
|
4920
|
-
py::set_invalid_arg_count_error(arg_count);
|
|
4921
|
-
return nullptr;
|
|
4922
|
-
}
|
|
4923
|
-
}
|
|
4924
|
-
|
|
4925
4896
|
static PyObject* FlyoutBase_GetAttachedFlyout(PyObject* /*unused*/, PyObject* args) noexcept
|
|
4926
4897
|
{
|
|
4927
4898
|
auto arg_count = PyTuple_Size(args);
|
|
@@ -4983,38 +4954,6 @@ namespace py::cpp::Windows::UI::Xaml::Controls::Primitives
|
|
|
4983
4954
|
}
|
|
4984
4955
|
}
|
|
4985
4956
|
|
|
4986
|
-
static PyObject* FlyoutBase_OnProcessKeyboardAccelerators(py::wrapper::Windows::UI::Xaml::Controls::Primitives::FlyoutBase* self, PyObject* args) noexcept
|
|
4987
|
-
{
|
|
4988
|
-
auto arg_count = PyTuple_Size(args);
|
|
4989
|
-
|
|
4990
|
-
if (arg_count == 1)
|
|
4991
|
-
{
|
|
4992
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Controls.Primitives.FlyoutBase", L"OnProcessKeyboardAccelerators", 1))
|
|
4993
|
-
{
|
|
4994
|
-
py::set_arg_count_version_error(1);
|
|
4995
|
-
return nullptr;
|
|
4996
|
-
}
|
|
4997
|
-
|
|
4998
|
-
try
|
|
4999
|
-
{
|
|
5000
|
-
auto param0 = py::convert_to<winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs>(args, 0);
|
|
5001
|
-
|
|
5002
|
-
self->obj.OnProcessKeyboardAccelerators(param0);
|
|
5003
|
-
Py_RETURN_NONE;
|
|
5004
|
-
}
|
|
5005
|
-
catch (...)
|
|
5006
|
-
{
|
|
5007
|
-
py::to_PyErr();
|
|
5008
|
-
return nullptr;
|
|
5009
|
-
}
|
|
5010
|
-
}
|
|
5011
|
-
else
|
|
5012
|
-
{
|
|
5013
|
-
py::set_invalid_arg_count_error(arg_count);
|
|
5014
|
-
return nullptr;
|
|
5015
|
-
}
|
|
5016
|
-
}
|
|
5017
|
-
|
|
5018
4957
|
static PyObject* FlyoutBase_SetAttachedFlyout(PyObject* /*unused*/, PyObject* args) noexcept
|
|
5019
4958
|
{
|
|
5020
4959
|
auto arg_count = PyTuple_Size(args);
|
|
@@ -6156,9 +6095,7 @@ namespace py::cpp::Windows::UI::Xaml::Controls::Primitives
|
|
|
6156
6095
|
}
|
|
6157
6096
|
|
|
6158
6097
|
static PyMethodDef _methods_FlyoutBase[] = {
|
|
6159
|
-
{ "create_presenter", reinterpret_cast<PyCFunction>(FlyoutBase_CreatePresenter), METH_VARARGS, nullptr },
|
|
6160
6098
|
{ "hide", reinterpret_cast<PyCFunction>(FlyoutBase_Hide), METH_VARARGS, nullptr },
|
|
6161
|
-
{ "on_process_keyboard_accelerators", reinterpret_cast<PyCFunction>(FlyoutBase_OnProcessKeyboardAccelerators), METH_VARARGS, nullptr },
|
|
6162
6099
|
{ "show_at", reinterpret_cast<PyCFunction>(FlyoutBase_ShowAt), METH_VARARGS, nullptr },
|
|
6163
6100
|
{ "try_invoke_keyboard_accelerator", reinterpret_cast<PyCFunction>(FlyoutBase_TryInvokeKeyboardAccelerator), METH_VARARGS, nullptr },
|
|
6164
6101
|
{ "add_closed", reinterpret_cast<PyCFunction>(FlyoutBase_add_Closed), METH_O, nullptr },
|
|
@@ -16130,36 +16067,6 @@ namespace py::cpp::Windows::UI::Xaml::Controls::Primitives
|
|
|
16130
16067
|
}
|
|
16131
16068
|
}
|
|
16132
16069
|
|
|
16133
|
-
static PyObject* PickerFlyoutBase_OnConfirmed(py::wrapper::Windows::UI::Xaml::Controls::Primitives::PickerFlyoutBase* self, PyObject* args) noexcept
|
|
16134
|
-
{
|
|
16135
|
-
auto arg_count = PyTuple_Size(args);
|
|
16136
|
-
|
|
16137
|
-
if (arg_count == 0)
|
|
16138
|
-
{
|
|
16139
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Controls.Primitives.PickerFlyoutBase", L"OnConfirmed", 0))
|
|
16140
|
-
{
|
|
16141
|
-
py::set_arg_count_version_error(0);
|
|
16142
|
-
return nullptr;
|
|
16143
|
-
}
|
|
16144
|
-
|
|
16145
|
-
try
|
|
16146
|
-
{
|
|
16147
|
-
self->obj.OnConfirmed();
|
|
16148
|
-
Py_RETURN_NONE;
|
|
16149
|
-
}
|
|
16150
|
-
catch (...)
|
|
16151
|
-
{
|
|
16152
|
-
py::to_PyErr();
|
|
16153
|
-
return nullptr;
|
|
16154
|
-
}
|
|
16155
|
-
}
|
|
16156
|
-
else
|
|
16157
|
-
{
|
|
16158
|
-
py::set_invalid_arg_count_error(arg_count);
|
|
16159
|
-
return nullptr;
|
|
16160
|
-
}
|
|
16161
|
-
}
|
|
16162
|
-
|
|
16163
16070
|
static PyObject* PickerFlyoutBase_SetTitle(PyObject* /*unused*/, PyObject* args) noexcept
|
|
16164
16071
|
{
|
|
16165
16072
|
auto arg_count = PyTuple_Size(args);
|
|
@@ -16193,35 +16100,6 @@ namespace py::cpp::Windows::UI::Xaml::Controls::Primitives
|
|
|
16193
16100
|
}
|
|
16194
16101
|
}
|
|
16195
16102
|
|
|
16196
|
-
static PyObject* PickerFlyoutBase_ShouldShowConfirmationButtons(py::wrapper::Windows::UI::Xaml::Controls::Primitives::PickerFlyoutBase* self, PyObject* args) noexcept
|
|
16197
|
-
{
|
|
16198
|
-
auto arg_count = PyTuple_Size(args);
|
|
16199
|
-
|
|
16200
|
-
if (arg_count == 0)
|
|
16201
|
-
{
|
|
16202
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Controls.Primitives.PickerFlyoutBase", L"ShouldShowConfirmationButtons", 0))
|
|
16203
|
-
{
|
|
16204
|
-
py::set_arg_count_version_error(0);
|
|
16205
|
-
return nullptr;
|
|
16206
|
-
}
|
|
16207
|
-
|
|
16208
|
-
try
|
|
16209
|
-
{
|
|
16210
|
-
return py::convert(self->obj.ShouldShowConfirmationButtons());
|
|
16211
|
-
}
|
|
16212
|
-
catch (...)
|
|
16213
|
-
{
|
|
16214
|
-
py::to_PyErr();
|
|
16215
|
-
return nullptr;
|
|
16216
|
-
}
|
|
16217
|
-
}
|
|
16218
|
-
else
|
|
16219
|
-
{
|
|
16220
|
-
py::set_invalid_arg_count_error(arg_count);
|
|
16221
|
-
return nullptr;
|
|
16222
|
-
}
|
|
16223
|
-
}
|
|
16224
|
-
|
|
16225
16103
|
static PyObject* PickerFlyoutBase_get_TitleProperty(PyObject* /*unused*/, void* /*unused*/) noexcept
|
|
16226
16104
|
{
|
|
16227
16105
|
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Controls.Primitives.PickerFlyoutBase", L"TitleProperty"))
|
|
@@ -16266,8 +16144,6 @@ namespace py::cpp::Windows::UI::Xaml::Controls::Primitives
|
|
|
16266
16144
|
}
|
|
16267
16145
|
|
|
16268
16146
|
static PyMethodDef _methods_PickerFlyoutBase[] = {
|
|
16269
|
-
{ "on_confirmed", reinterpret_cast<PyCFunction>(PickerFlyoutBase_OnConfirmed), METH_VARARGS, nullptr },
|
|
16270
|
-
{ "should_show_confirmation_buttons", reinterpret_cast<PyCFunction>(PickerFlyoutBase_ShouldShowConfirmationButtons), METH_VARARGS, nullptr },
|
|
16271
16147
|
{ "_assign_array_", _assign_array_PickerFlyoutBase, METH_O | METH_STATIC, nullptr },
|
|
16272
16148
|
{ "_from", reinterpret_cast<PyCFunction>(_from_PickerFlyoutBase), METH_O | METH_STATIC, nullptr },
|
|
16273
16149
|
{ }
|
|
@@ -18131,105 +18007,6 @@ namespace py::cpp::Windows::UI::Xaml::Controls::Primitives
|
|
|
18131
18007
|
Py_DECREF(tp);
|
|
18132
18008
|
}
|
|
18133
18009
|
|
|
18134
|
-
static PyObject* RangeBase_OnMaximumChanged(py::wrapper::Windows::UI::Xaml::Controls::Primitives::RangeBase* self, PyObject* args) noexcept
|
|
18135
|
-
{
|
|
18136
|
-
auto arg_count = PyTuple_Size(args);
|
|
18137
|
-
|
|
18138
|
-
if (arg_count == 2)
|
|
18139
|
-
{
|
|
18140
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Controls.Primitives.RangeBase", L"OnMaximumChanged", 2))
|
|
18141
|
-
{
|
|
18142
|
-
py::set_arg_count_version_error(2);
|
|
18143
|
-
return nullptr;
|
|
18144
|
-
}
|
|
18145
|
-
|
|
18146
|
-
try
|
|
18147
|
-
{
|
|
18148
|
-
auto param0 = py::convert_to<double>(args, 0);
|
|
18149
|
-
auto param1 = py::convert_to<double>(args, 1);
|
|
18150
|
-
|
|
18151
|
-
self->obj.OnMaximumChanged(param0, param1);
|
|
18152
|
-
Py_RETURN_NONE;
|
|
18153
|
-
}
|
|
18154
|
-
catch (...)
|
|
18155
|
-
{
|
|
18156
|
-
py::to_PyErr();
|
|
18157
|
-
return nullptr;
|
|
18158
|
-
}
|
|
18159
|
-
}
|
|
18160
|
-
else
|
|
18161
|
-
{
|
|
18162
|
-
py::set_invalid_arg_count_error(arg_count);
|
|
18163
|
-
return nullptr;
|
|
18164
|
-
}
|
|
18165
|
-
}
|
|
18166
|
-
|
|
18167
|
-
static PyObject* RangeBase_OnMinimumChanged(py::wrapper::Windows::UI::Xaml::Controls::Primitives::RangeBase* self, PyObject* args) noexcept
|
|
18168
|
-
{
|
|
18169
|
-
auto arg_count = PyTuple_Size(args);
|
|
18170
|
-
|
|
18171
|
-
if (arg_count == 2)
|
|
18172
|
-
{
|
|
18173
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Controls.Primitives.RangeBase", L"OnMinimumChanged", 2))
|
|
18174
|
-
{
|
|
18175
|
-
py::set_arg_count_version_error(2);
|
|
18176
|
-
return nullptr;
|
|
18177
|
-
}
|
|
18178
|
-
|
|
18179
|
-
try
|
|
18180
|
-
{
|
|
18181
|
-
auto param0 = py::convert_to<double>(args, 0);
|
|
18182
|
-
auto param1 = py::convert_to<double>(args, 1);
|
|
18183
|
-
|
|
18184
|
-
self->obj.OnMinimumChanged(param0, param1);
|
|
18185
|
-
Py_RETURN_NONE;
|
|
18186
|
-
}
|
|
18187
|
-
catch (...)
|
|
18188
|
-
{
|
|
18189
|
-
py::to_PyErr();
|
|
18190
|
-
return nullptr;
|
|
18191
|
-
}
|
|
18192
|
-
}
|
|
18193
|
-
else
|
|
18194
|
-
{
|
|
18195
|
-
py::set_invalid_arg_count_error(arg_count);
|
|
18196
|
-
return nullptr;
|
|
18197
|
-
}
|
|
18198
|
-
}
|
|
18199
|
-
|
|
18200
|
-
static PyObject* RangeBase_OnValueChanged(py::wrapper::Windows::UI::Xaml::Controls::Primitives::RangeBase* self, PyObject* args) noexcept
|
|
18201
|
-
{
|
|
18202
|
-
auto arg_count = PyTuple_Size(args);
|
|
18203
|
-
|
|
18204
|
-
if (arg_count == 2)
|
|
18205
|
-
{
|
|
18206
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Controls.Primitives.RangeBase", L"OnValueChanged", 2))
|
|
18207
|
-
{
|
|
18208
|
-
py::set_arg_count_version_error(2);
|
|
18209
|
-
return nullptr;
|
|
18210
|
-
}
|
|
18211
|
-
|
|
18212
|
-
try
|
|
18213
|
-
{
|
|
18214
|
-
auto param0 = py::convert_to<double>(args, 0);
|
|
18215
|
-
auto param1 = py::convert_to<double>(args, 1);
|
|
18216
|
-
|
|
18217
|
-
self->obj.OnValueChanged(param0, param1);
|
|
18218
|
-
Py_RETURN_NONE;
|
|
18219
|
-
}
|
|
18220
|
-
catch (...)
|
|
18221
|
-
{
|
|
18222
|
-
py::to_PyErr();
|
|
18223
|
-
return nullptr;
|
|
18224
|
-
}
|
|
18225
|
-
}
|
|
18226
|
-
else
|
|
18227
|
-
{
|
|
18228
|
-
py::set_invalid_arg_count_error(arg_count);
|
|
18229
|
-
return nullptr;
|
|
18230
|
-
}
|
|
18231
|
-
}
|
|
18232
|
-
|
|
18233
18010
|
static PyObject* RangeBase_get_Value(py::wrapper::Windows::UI::Xaml::Controls::Primitives::RangeBase* self, void* /*unused*/) noexcept
|
|
18234
18011
|
{
|
|
18235
18012
|
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Controls.Primitives.RangeBase", L"Value"))
|
|
@@ -18628,9 +18405,6 @@ namespace py::cpp::Windows::UI::Xaml::Controls::Primitives
|
|
|
18628
18405
|
}
|
|
18629
18406
|
|
|
18630
18407
|
static PyMethodDef _methods_RangeBase[] = {
|
|
18631
|
-
{ "on_maximum_changed", reinterpret_cast<PyCFunction>(RangeBase_OnMaximumChanged), METH_VARARGS, nullptr },
|
|
18632
|
-
{ "on_minimum_changed", reinterpret_cast<PyCFunction>(RangeBase_OnMinimumChanged), METH_VARARGS, nullptr },
|
|
18633
|
-
{ "on_value_changed", reinterpret_cast<PyCFunction>(RangeBase_OnValueChanged), METH_VARARGS, nullptr },
|
|
18634
18408
|
{ "add_value_changed", reinterpret_cast<PyCFunction>(RangeBase_add_ValueChanged), METH_O, nullptr },
|
|
18635
18409
|
{ "remove_value_changed", reinterpret_cast<PyCFunction>(RangeBase_remove_ValueChanged), METH_O, nullptr },
|
|
18636
18410
|
{ "_assign_array_", _assign_array_RangeBase, METH_O | METH_STATIC, nullptr },
|
|
@@ -21148,36 +20922,6 @@ namespace py::cpp::Windows::UI::Xaml::Controls::Primitives
|
|
|
21148
20922
|
Py_DECREF(tp);
|
|
21149
20923
|
}
|
|
21150
20924
|
|
|
21151
|
-
static PyObject* ToggleButton_OnToggle(py::wrapper::Windows::UI::Xaml::Controls::Primitives::ToggleButton* self, PyObject* args) noexcept
|
|
21152
|
-
{
|
|
21153
|
-
auto arg_count = PyTuple_Size(args);
|
|
21154
|
-
|
|
21155
|
-
if (arg_count == 0)
|
|
21156
|
-
{
|
|
21157
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.UI.Xaml.Controls.Primitives.ToggleButton", L"OnToggle", 0))
|
|
21158
|
-
{
|
|
21159
|
-
py::set_arg_count_version_error(0);
|
|
21160
|
-
return nullptr;
|
|
21161
|
-
}
|
|
21162
|
-
|
|
21163
|
-
try
|
|
21164
|
-
{
|
|
21165
|
-
self->obj.OnToggle();
|
|
21166
|
-
Py_RETURN_NONE;
|
|
21167
|
-
}
|
|
21168
|
-
catch (...)
|
|
21169
|
-
{
|
|
21170
|
-
py::to_PyErr();
|
|
21171
|
-
return nullptr;
|
|
21172
|
-
}
|
|
21173
|
-
}
|
|
21174
|
-
else
|
|
21175
|
-
{
|
|
21176
|
-
py::set_invalid_arg_count_error(arg_count);
|
|
21177
|
-
return nullptr;
|
|
21178
|
-
}
|
|
21179
|
-
}
|
|
21180
|
-
|
|
21181
20925
|
static PyObject* ToggleButton_get_IsThreeState(py::wrapper::Windows::UI::Xaml::Controls::Primitives::ToggleButton* self, void* /*unused*/) noexcept
|
|
21182
20926
|
{
|
|
21183
20927
|
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.UI.Xaml.Controls.Primitives.ToggleButton", L"IsThreeState"))
|
|
@@ -21464,7 +21208,6 @@ namespace py::cpp::Windows::UI::Xaml::Controls::Primitives
|
|
|
21464
21208
|
}
|
|
21465
21209
|
|
|
21466
21210
|
static PyMethodDef _methods_ToggleButton[] = {
|
|
21467
|
-
{ "on_toggle", reinterpret_cast<PyCFunction>(ToggleButton_OnToggle), METH_VARARGS, nullptr },
|
|
21468
21211
|
{ "add_checked", reinterpret_cast<PyCFunction>(ToggleButton_add_Checked), METH_O, nullptr },
|
|
21469
21212
|
{ "remove_checked", reinterpret_cast<PyCFunction>(ToggleButton_remove_Checked), METH_O, nullptr },
|
|
21470
21213
|
{ "add_indeterminate", reinterpret_cast<PyCFunction>(ToggleButton_add_Indeterminate), METH_O, nullptr },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
2
|
|
|
3
3
|
[build-system]
|
|
4
|
-
requires = ["setuptools", "
|
|
4
|
+
requires = ["setuptools", "winrt-sdk"]
|
|
5
5
|
build-backend = "setuptools.build_meta"
|
|
6
6
|
|
|
7
7
|
[project]
|
|
@@ -19,9 +19,9 @@ dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
|
19
19
|
requires-python = ">=3.9,<3.13"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
|
-
# Homepage = "https://github.com/
|
|
23
|
-
|
|
24
|
-
Repository = "https://github.com/
|
|
22
|
+
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
23
|
+
Documentation = "https://pywinrt.readthedocs.io"
|
|
24
|
+
Repository = "https://github.com/pywinrt/pywinrt"
|
|
25
25
|
Changelog = "https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md"
|
|
26
26
|
|
|
27
27
|
[tool.setuptools.dynamic]
|
|
@@ -29,6 +29,9 @@ version = { file = "pywinrt-version.txt" }
|
|
|
29
29
|
dependencies = { file = "requirements.txt" }
|
|
30
30
|
optional-dependencies.all = { file = "all-requirements.txt" }
|
|
31
31
|
|
|
32
|
+
[tool.setuptools.package-data]
|
|
33
|
+
"*" = ["*.pyi", "py.typed"]
|
|
34
|
+
|
|
32
35
|
[tool.cibuildwheel]
|
|
33
36
|
# use local winrt-sdk build dependency
|
|
34
37
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.0.1
|
|
@@ -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.0.1
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.0.
|
|
3
|
+
winrt-runtime==2.0.1
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
+
|
|
3
|
+
from setuptools import Extension, setup
|
|
4
|
+
from setuptools.command.build_ext import build_ext
|
|
5
|
+
from winrt_sdk import get_include_dirs
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class build_ext_ex(build_ext):
|
|
9
|
+
def build_extension(self, ext):
|
|
10
|
+
if self.compiler.compiler_type == "msvc":
|
|
11
|
+
ext.extra_compile_args = ["/std:c++20", "/permissive-"]
|
|
12
|
+
elif self.compiler.compiler_type == "mingw32":
|
|
13
|
+
ext.extra_compile_args = ["-std=c++20", "-D_WIN32_WINNT=_WIN32_WINNT_WIN10"]
|
|
14
|
+
ext.extra_link_args = ["-loleaut32"]
|
|
15
|
+
else:
|
|
16
|
+
raise ValueError(f"Unsupported compiler: {self.compiler.compiler_type}")
|
|
17
|
+
|
|
18
|
+
build_ext.build_extension(self, ext)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
setup(
|
|
22
|
+
cmdclass = {'build_ext': build_ext_ex},
|
|
23
|
+
ext_modules=[
|
|
24
|
+
Extension(
|
|
25
|
+
"winrt._winrt_windows_ui_xaml_controls_primitives",
|
|
26
|
+
sources=["py.Windows.UI.Xaml.Controls.Primitives.cpp"],
|
|
27
|
+
include_dirs=get_include_dirs(),
|
|
28
|
+
libraries=["windowsapp"],
|
|
29
|
+
)
|
|
30
|
+
],
|
|
31
|
+
)
|
|
@@ -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.0.1
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -25,17 +25,20 @@ from winrt.windows.ui.xaml.controls.primitives import DragCompletedEventHandler,
|
|
|
25
25
|
|
|
26
26
|
Self = typing.TypeVar('Self')
|
|
27
27
|
|
|
28
|
+
@typing.final
|
|
28
29
|
class GeneratorPosition:
|
|
29
30
|
index: winrt.system.Int32
|
|
30
31
|
offset: winrt.system.Int32
|
|
31
32
|
def __init__(self, index: winrt.system.Int32, offset: winrt.system.Int32) -> None: ...
|
|
32
33
|
|
|
34
|
+
@typing.final
|
|
33
35
|
class AppBarButtonTemplateSettings(winrt.system.Object):
|
|
34
36
|
@staticmethod
|
|
35
37
|
def _from(obj: winrt.system.Object, /) -> AppBarButtonTemplateSettings: ...
|
|
36
38
|
@_property
|
|
37
39
|
def keyboard_accelerator_text_min_width(self) -> winrt.system.Double: ...
|
|
38
40
|
|
|
41
|
+
@typing.final
|
|
39
42
|
class AppBarTemplateSettings(winrt.system.Object):
|
|
40
43
|
@staticmethod
|
|
41
44
|
def _from(obj: winrt.system.Object, /) -> AppBarTemplateSettings: ...
|
|
@@ -60,12 +63,14 @@ class AppBarTemplateSettings(winrt.system.Object):
|
|
|
60
63
|
@_property
|
|
61
64
|
def negative_minimal_vertical_delta(self) -> winrt.system.Double: ...
|
|
62
65
|
|
|
66
|
+
@typing.final
|
|
63
67
|
class AppBarToggleButtonTemplateSettings(winrt.system.Object):
|
|
64
68
|
@staticmethod
|
|
65
69
|
def _from(obj: winrt.system.Object, /) -> AppBarToggleButtonTemplateSettings: ...
|
|
66
70
|
@_property
|
|
67
71
|
def keyboard_accelerator_text_min_width(self) -> winrt.system.Double: ...
|
|
68
72
|
|
|
73
|
+
@typing.final
|
|
69
74
|
class ButtonBase_Static(type):
|
|
70
75
|
@_property
|
|
71
76
|
def click_mode_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
@@ -78,6 +83,7 @@ class ButtonBase_Static(type):
|
|
|
78
83
|
@_property
|
|
79
84
|
def is_pressed_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
80
85
|
|
|
86
|
+
@typing.final
|
|
81
87
|
class ButtonBase(winrt.system.Object, metaclass=ButtonBase_Static):
|
|
82
88
|
@staticmethod
|
|
83
89
|
def _from(obj: winrt.system.Object, /) -> ButtonBase: ...
|
|
@@ -100,11 +106,13 @@ class ButtonBase(winrt.system.Object, metaclass=ButtonBase_Static):
|
|
|
100
106
|
@_property
|
|
101
107
|
def is_pressed(self) -> bool: ...
|
|
102
108
|
|
|
109
|
+
@typing.final
|
|
103
110
|
class CalendarPanel(winrt.system.Object):
|
|
104
111
|
@staticmethod
|
|
105
112
|
def _from(obj: winrt.system.Object, /) -> CalendarPanel: ...
|
|
106
113
|
def __new__(cls: typing.Type[CalendarPanel]) -> CalendarPanel:...
|
|
107
114
|
|
|
115
|
+
@typing.final
|
|
108
116
|
class CalendarViewTemplateSettings(winrt.system.Object):
|
|
109
117
|
@staticmethod
|
|
110
118
|
def _from(obj: winrt.system.Object, /) -> CalendarViewTemplateSettings: ...
|
|
@@ -139,6 +147,7 @@ class CalendarViewTemplateSettings(winrt.system.Object):
|
|
|
139
147
|
@_property
|
|
140
148
|
def week_day7(self) -> str: ...
|
|
141
149
|
|
|
150
|
+
@typing.final
|
|
142
151
|
class CarouselPanel(winrt.system.Object):
|
|
143
152
|
@staticmethod
|
|
144
153
|
def _from(obj: winrt.system.Object, /) -> CarouselPanel: ...
|
|
@@ -193,10 +202,12 @@ class CarouselPanel(winrt.system.Object):
|
|
|
193
202
|
@_property
|
|
194
203
|
def are_vertical_snap_points_regular(self) -> bool: ...
|
|
195
204
|
|
|
205
|
+
@typing.final
|
|
196
206
|
class ColorPickerSlider_Static(type):
|
|
197
207
|
@_property
|
|
198
208
|
def color_channel_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
199
209
|
|
|
210
|
+
@typing.final
|
|
200
211
|
class ColorPickerSlider(winrt.system.Object, metaclass=ColorPickerSlider_Static):
|
|
201
212
|
@staticmethod
|
|
202
213
|
def _from(obj: winrt.system.Object, /) -> ColorPickerSlider: ...
|
|
@@ -206,6 +217,7 @@ class ColorPickerSlider(winrt.system.Object, metaclass=ColorPickerSlider_Static)
|
|
|
206
217
|
@color_channel.setter
|
|
207
218
|
def color_channel(self, value: winrt.windows.ui.xaml.controls.ColorPickerHsvChannel) -> None: ...
|
|
208
219
|
|
|
220
|
+
@typing.final
|
|
209
221
|
class ColorSpectrum_Static(type):
|
|
210
222
|
@_property
|
|
211
223
|
def color_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
@@ -228,6 +240,7 @@ class ColorSpectrum_Static(type):
|
|
|
228
240
|
@_property
|
|
229
241
|
def shape_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
230
242
|
|
|
243
|
+
@typing.final
|
|
231
244
|
class ColorSpectrum(winrt.system.Object, metaclass=ColorSpectrum_Static):
|
|
232
245
|
@staticmethod
|
|
233
246
|
def _from(obj: winrt.system.Object, /) -> ColorSpectrum: ...
|
|
@@ -275,6 +288,7 @@ class ColorSpectrum(winrt.system.Object, metaclass=ColorSpectrum_Static):
|
|
|
275
288
|
@color.setter
|
|
276
289
|
def color(self, value: winrt.windows.ui.Color) -> None: ...
|
|
277
290
|
|
|
291
|
+
@typing.final
|
|
278
292
|
class ComboBoxTemplateSettings(winrt.system.Object):
|
|
279
293
|
@staticmethod
|
|
280
294
|
def _from(obj: winrt.system.Object, /) -> ComboBoxTemplateSettings: ...
|
|
@@ -289,6 +303,7 @@ class ComboBoxTemplateSettings(winrt.system.Object):
|
|
|
289
303
|
@_property
|
|
290
304
|
def drop_down_content_min_width(self) -> winrt.system.Double: ...
|
|
291
305
|
|
|
306
|
+
@typing.final
|
|
292
307
|
class CommandBarFlyoutCommandBar(winrt.system.Object):
|
|
293
308
|
@staticmethod
|
|
294
309
|
def _from(obj: winrt.system.Object, /) -> CommandBarFlyoutCommandBar: ...
|
|
@@ -296,6 +311,7 @@ class CommandBarFlyoutCommandBar(winrt.system.Object):
|
|
|
296
311
|
@_property
|
|
297
312
|
def flyout_template_settings(self) -> typing.Optional[CommandBarFlyoutCommandBarTemplateSettings]: ...
|
|
298
313
|
|
|
314
|
+
@typing.final
|
|
299
315
|
class CommandBarFlyoutCommandBarTemplateSettings(winrt.system.Object):
|
|
300
316
|
@staticmethod
|
|
301
317
|
def _from(obj: winrt.system.Object, /) -> CommandBarFlyoutCommandBarTemplateSettings: ...
|
|
@@ -340,6 +356,7 @@ class CommandBarFlyoutCommandBarTemplateSettings(winrt.system.Object):
|
|
|
340
356
|
@_property
|
|
341
357
|
def width_expansion_more_button_animation_start_position(self) -> winrt.system.Double: ...
|
|
342
358
|
|
|
359
|
+
@typing.final
|
|
343
360
|
class CommandBarTemplateSettings(winrt.system.Object):
|
|
344
361
|
@staticmethod
|
|
345
362
|
def _from(obj: winrt.system.Object, /) -> CommandBarTemplateSettings: ...
|
|
@@ -368,6 +385,7 @@ class CommandBarTemplateSettings(winrt.system.Object):
|
|
|
368
385
|
@_property
|
|
369
386
|
def overflow_content_minimal_y_translation(self) -> winrt.system.Double: ...
|
|
370
387
|
|
|
388
|
+
@typing.final
|
|
371
389
|
class DragCompletedEventArgs(winrt.system.Object):
|
|
372
390
|
@staticmethod
|
|
373
391
|
def _from(obj: winrt.system.Object, /) -> DragCompletedEventArgs: ...
|
|
@@ -379,6 +397,7 @@ class DragCompletedEventArgs(winrt.system.Object):
|
|
|
379
397
|
@_property
|
|
380
398
|
def vertical_change(self) -> winrt.system.Double: ...
|
|
381
399
|
|
|
400
|
+
@typing.final
|
|
382
401
|
class DragDeltaEventArgs(winrt.system.Object):
|
|
383
402
|
@staticmethod
|
|
384
403
|
def _from(obj: winrt.system.Object, /) -> DragDeltaEventArgs: ...
|
|
@@ -388,6 +407,7 @@ class DragDeltaEventArgs(winrt.system.Object):
|
|
|
388
407
|
@_property
|
|
389
408
|
def vertical_change(self) -> winrt.system.Double: ...
|
|
390
409
|
|
|
410
|
+
@typing.final
|
|
391
411
|
class DragStartedEventArgs(winrt.system.Object):
|
|
392
412
|
@staticmethod
|
|
393
413
|
def _from(obj: winrt.system.Object, /) -> DragStartedEventArgs: ...
|
|
@@ -397,6 +417,7 @@ class DragStartedEventArgs(winrt.system.Object):
|
|
|
397
417
|
@_property
|
|
398
418
|
def vertical_offset(self) -> winrt.system.Double: ...
|
|
399
419
|
|
|
420
|
+
@typing.final
|
|
400
421
|
class FlyoutBase_Static(type):
|
|
401
422
|
def get_attached_flyout(cls, element: typing.Optional[winrt.windows.ui.xaml.FrameworkElement], /) -> typing.Optional[FlyoutBase]: ...
|
|
402
423
|
def set_attached_flyout(cls, element: typing.Optional[winrt.windows.ui.xaml.FrameworkElement], value: typing.Optional[FlyoutBase], /) -> None: ...
|
|
@@ -428,12 +449,11 @@ class FlyoutBase_Static(type):
|
|
|
428
449
|
@_property
|
|
429
450
|
def should_constrain_to_root_bounds_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
430
451
|
|
|
452
|
+
@typing.final
|
|
431
453
|
class FlyoutBase(winrt.system.Object, metaclass=FlyoutBase_Static):
|
|
432
454
|
@staticmethod
|
|
433
455
|
def _from(obj: winrt.system.Object, /) -> FlyoutBase: ...
|
|
434
|
-
def create_presenter(self) -> typing.Optional[winrt.windows.ui.xaml.controls.Control]: ...
|
|
435
456
|
def hide(self) -> None: ...
|
|
436
|
-
def on_process_keyboard_accelerators(self, args: typing.Optional[winrt.windows.ui.xaml.input.ProcessKeyboardAcceleratorEventArgs], /) -> None: ...
|
|
437
457
|
@typing.overload
|
|
438
458
|
def show_at(self, placement_target: typing.Optional[winrt.windows.ui.xaml.FrameworkElement], /) -> None: ...
|
|
439
459
|
@typing.overload
|
|
@@ -496,6 +516,7 @@ class FlyoutBase(winrt.system.Object, metaclass=FlyoutBase_Static):
|
|
|
496
516
|
@_property
|
|
497
517
|
def is_constrained_to_root_bounds(self) -> bool: ...
|
|
498
518
|
|
|
519
|
+
@typing.final
|
|
499
520
|
class FlyoutBaseClosingEventArgs(winrt.system.Object):
|
|
500
521
|
@staticmethod
|
|
501
522
|
def _from(obj: winrt.system.Object, /) -> FlyoutBaseClosingEventArgs: ...
|
|
@@ -504,6 +525,7 @@ class FlyoutBaseClosingEventArgs(winrt.system.Object):
|
|
|
504
525
|
@cancel.setter
|
|
505
526
|
def cancel(self, value: bool) -> None: ...
|
|
506
527
|
|
|
528
|
+
@typing.final
|
|
507
529
|
class FlyoutShowOptions(winrt.system.Object):
|
|
508
530
|
@staticmethod
|
|
509
531
|
def _from(obj: winrt.system.Object, /) -> FlyoutShowOptions: ...
|
|
@@ -525,13 +547,16 @@ class FlyoutShowOptions(winrt.system.Object):
|
|
|
525
547
|
@exclusion_rect.setter
|
|
526
548
|
def exclusion_rect(self, value: typing.Optional[typing.Optional[winrt.windows.foundation.Rect]]) -> None: ...
|
|
527
549
|
|
|
550
|
+
@typing.final
|
|
528
551
|
class GeneratorPositionHelper_Static(type):
|
|
529
552
|
def from_index_and_offset(cls, index: winrt.system.Int32, offset: winrt.system.Int32, /) -> GeneratorPosition: ...
|
|
530
553
|
|
|
554
|
+
@typing.final
|
|
531
555
|
class GeneratorPositionHelper(winrt.system.Object, metaclass=GeneratorPositionHelper_Static):
|
|
532
556
|
@staticmethod
|
|
533
557
|
def _from(obj: winrt.system.Object, /) -> GeneratorPositionHelper: ...
|
|
534
558
|
|
|
559
|
+
@typing.final
|
|
535
560
|
class GridViewItemPresenter_Static(type):
|
|
536
561
|
@_property
|
|
537
562
|
def check_brush_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
@@ -578,6 +603,7 @@ class GridViewItemPresenter_Static(type):
|
|
|
578
603
|
@_property
|
|
579
604
|
def selection_check_mark_visual_enabled_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
580
605
|
|
|
606
|
+
@typing.final
|
|
581
607
|
class GridViewItemPresenter(winrt.system.Object, metaclass=GridViewItemPresenter_Static):
|
|
582
608
|
@staticmethod
|
|
583
609
|
def _from(obj: winrt.system.Object, /) -> GridViewItemPresenter: ...
|
|
@@ -671,12 +697,14 @@ class GridViewItemPresenter(winrt.system.Object, metaclass=GridViewItemPresenter
|
|
|
671
697
|
@check_brush.setter
|
|
672
698
|
def check_brush(self, value: typing.Optional[winrt.windows.ui.xaml.media.Brush]) -> None: ...
|
|
673
699
|
|
|
700
|
+
@typing.final
|
|
674
701
|
class GridViewItemTemplateSettings(winrt.system.Object):
|
|
675
702
|
@staticmethod
|
|
676
703
|
def _from(obj: winrt.system.Object, /) -> GridViewItemTemplateSettings: ...
|
|
677
704
|
@_property
|
|
678
705
|
def drag_items_count(self) -> winrt.system.Int32: ...
|
|
679
706
|
|
|
707
|
+
@typing.final
|
|
680
708
|
class ItemsChangedEventArgs(winrt.system.Object):
|
|
681
709
|
@staticmethod
|
|
682
710
|
def _from(obj: winrt.system.Object, /) -> ItemsChangedEventArgs: ...
|
|
@@ -691,12 +719,14 @@ class ItemsChangedEventArgs(winrt.system.Object):
|
|
|
691
719
|
@_property
|
|
692
720
|
def position(self) -> GeneratorPosition: ...
|
|
693
721
|
|
|
722
|
+
@typing.final
|
|
694
723
|
class JumpListItemBackgroundConverter_Static(type):
|
|
695
724
|
@_property
|
|
696
725
|
def disabled_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
697
726
|
@_property
|
|
698
727
|
def enabled_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
699
728
|
|
|
729
|
+
@typing.final
|
|
700
730
|
class JumpListItemBackgroundConverter(winrt.system.Object, metaclass=JumpListItemBackgroundConverter_Static):
|
|
701
731
|
@staticmethod
|
|
702
732
|
def _from(obj: winrt.system.Object, /) -> JumpListItemBackgroundConverter: ...
|
|
@@ -712,12 +742,14 @@ class JumpListItemBackgroundConverter(winrt.system.Object, metaclass=JumpListIte
|
|
|
712
742
|
@disabled.setter
|
|
713
743
|
def disabled(self, value: typing.Optional[winrt.windows.ui.xaml.media.Brush]) -> None: ...
|
|
714
744
|
|
|
745
|
+
@typing.final
|
|
715
746
|
class JumpListItemForegroundConverter_Static(type):
|
|
716
747
|
@_property
|
|
717
748
|
def disabled_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
718
749
|
@_property
|
|
719
750
|
def enabled_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
720
751
|
|
|
752
|
+
@typing.final
|
|
721
753
|
class JumpListItemForegroundConverter(winrt.system.Object, metaclass=JumpListItemForegroundConverter_Static):
|
|
722
754
|
@staticmethod
|
|
723
755
|
def _from(obj: winrt.system.Object, /) -> JumpListItemForegroundConverter: ...
|
|
@@ -733,15 +765,18 @@ class JumpListItemForegroundConverter(winrt.system.Object, metaclass=JumpListIte
|
|
|
733
765
|
@disabled.setter
|
|
734
766
|
def disabled(self, value: typing.Optional[winrt.windows.ui.xaml.media.Brush]) -> None: ...
|
|
735
767
|
|
|
768
|
+
@typing.final
|
|
736
769
|
class LayoutInformation_Static(type):
|
|
737
770
|
def get_available_size(cls, element: typing.Optional[winrt.windows.ui.xaml.UIElement], /) -> winrt.windows.foundation.Size: ...
|
|
738
771
|
def get_layout_exception_element(cls, dispatcher: typing.Optional[winrt.system.Object], /) -> typing.Optional[winrt.windows.ui.xaml.UIElement]: ...
|
|
739
772
|
def get_layout_slot(cls, element: typing.Optional[winrt.windows.ui.xaml.FrameworkElement], /) -> winrt.windows.foundation.Rect: ...
|
|
740
773
|
|
|
774
|
+
@typing.final
|
|
741
775
|
class LayoutInformation(winrt.system.Object, metaclass=LayoutInformation_Static):
|
|
742
776
|
@staticmethod
|
|
743
777
|
def _from(obj: winrt.system.Object, /) -> LayoutInformation: ...
|
|
744
778
|
|
|
779
|
+
@typing.final
|
|
745
780
|
class ListViewItemPresenter_Static(type):
|
|
746
781
|
@_property
|
|
747
782
|
def selected_pointer_over_border_brush_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
@@ -862,6 +897,7 @@ class ListViewItemPresenter_Static(type):
|
|
|
862
897
|
@_property
|
|
863
898
|
def selection_indicator_visual_enabled_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
864
899
|
|
|
900
|
+
@typing.final
|
|
865
901
|
class ListViewItemPresenter(winrt.system.Object, metaclass=ListViewItemPresenter_Static):
|
|
866
902
|
@staticmethod
|
|
867
903
|
def _from(obj: winrt.system.Object, /) -> ListViewItemPresenter: ...
|
|
@@ -1103,12 +1139,14 @@ class ListViewItemPresenter(winrt.system.Object, metaclass=ListViewItemPresenter
|
|
|
1103
1139
|
@check_box_border_brush.setter
|
|
1104
1140
|
def check_box_border_brush(self, value: typing.Optional[winrt.windows.ui.xaml.media.Brush]) -> None: ...
|
|
1105
1141
|
|
|
1142
|
+
@typing.final
|
|
1106
1143
|
class ListViewItemTemplateSettings(winrt.system.Object):
|
|
1107
1144
|
@staticmethod
|
|
1108
1145
|
def _from(obj: winrt.system.Object, /) -> ListViewItemTemplateSettings: ...
|
|
1109
1146
|
@_property
|
|
1110
1147
|
def drag_items_count(self) -> winrt.system.Int32: ...
|
|
1111
1148
|
|
|
1149
|
+
@typing.final
|
|
1112
1150
|
class LoopingSelector_Static(type):
|
|
1113
1151
|
@_property
|
|
1114
1152
|
def item_height_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
@@ -1125,6 +1163,7 @@ class LoopingSelector_Static(type):
|
|
|
1125
1163
|
@_property
|
|
1126
1164
|
def should_loop_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
1127
1165
|
|
|
1166
|
+
@typing.final
|
|
1128
1167
|
class LoopingSelector(winrt.system.Object, metaclass=LoopingSelector_Static):
|
|
1129
1168
|
@staticmethod
|
|
1130
1169
|
def _from(obj: winrt.system.Object, /) -> LoopingSelector: ...
|
|
@@ -1159,10 +1198,12 @@ class LoopingSelector(winrt.system.Object, metaclass=LoopingSelector_Static):
|
|
|
1159
1198
|
@item_height.setter
|
|
1160
1199
|
def item_height(self, value: winrt.system.Int32) -> None: ...
|
|
1161
1200
|
|
|
1201
|
+
@typing.final
|
|
1162
1202
|
class LoopingSelectorItem(winrt.system.Object):
|
|
1163
1203
|
@staticmethod
|
|
1164
1204
|
def _from(obj: winrt.system.Object, /) -> LoopingSelectorItem: ...
|
|
1165
1205
|
|
|
1206
|
+
@typing.final
|
|
1166
1207
|
class LoopingSelectorPanel(winrt.system.Object):
|
|
1167
1208
|
@staticmethod
|
|
1168
1209
|
def _from(obj: winrt.system.Object, /) -> LoopingSelectorPanel: ...
|
|
@@ -1177,22 +1218,26 @@ class LoopingSelectorPanel(winrt.system.Object):
|
|
|
1177
1218
|
@_property
|
|
1178
1219
|
def are_vertical_snap_points_regular(self) -> bool: ...
|
|
1179
1220
|
|
|
1221
|
+
@typing.final
|
|
1180
1222
|
class MenuFlyoutItemTemplateSettings(winrt.system.Object):
|
|
1181
1223
|
@staticmethod
|
|
1182
1224
|
def _from(obj: winrt.system.Object, /) -> MenuFlyoutItemTemplateSettings: ...
|
|
1183
1225
|
@_property
|
|
1184
1226
|
def keyboard_accelerator_text_min_width(self) -> winrt.system.Double: ...
|
|
1185
1227
|
|
|
1228
|
+
@typing.final
|
|
1186
1229
|
class MenuFlyoutPresenterTemplateSettings(winrt.system.Object):
|
|
1187
1230
|
@staticmethod
|
|
1188
1231
|
def _from(obj: winrt.system.Object, /) -> MenuFlyoutPresenterTemplateSettings: ...
|
|
1189
1232
|
@_property
|
|
1190
1233
|
def flyout_content_min_width(self) -> winrt.system.Double: ...
|
|
1191
1234
|
|
|
1235
|
+
@typing.final
|
|
1192
1236
|
class NavigationViewItemPresenter_Static(type):
|
|
1193
1237
|
@_property
|
|
1194
1238
|
def icon_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
1195
1239
|
|
|
1240
|
+
@typing.final
|
|
1196
1241
|
class NavigationViewItemPresenter(winrt.system.Object, metaclass=NavigationViewItemPresenter_Static):
|
|
1197
1242
|
@staticmethod
|
|
1198
1243
|
def _from(obj: winrt.system.Object, /) -> NavigationViewItemPresenter: ...
|
|
@@ -1202,6 +1247,7 @@ class NavigationViewItemPresenter(winrt.system.Object, metaclass=NavigationViewI
|
|
|
1202
1247
|
@icon.setter
|
|
1203
1248
|
def icon(self, value: typing.Optional[winrt.windows.ui.xaml.controls.IconElement]) -> None: ...
|
|
1204
1249
|
|
|
1250
|
+
@typing.final
|
|
1205
1251
|
class OrientedVirtualizingPanel(winrt.system.Object):
|
|
1206
1252
|
@staticmethod
|
|
1207
1253
|
def _from(obj: winrt.system.Object, /) -> OrientedVirtualizingPanel: ...
|
|
@@ -1256,28 +1302,31 @@ class OrientedVirtualizingPanel(winrt.system.Object):
|
|
|
1256
1302
|
@_property
|
|
1257
1303
|
def are_vertical_snap_points_regular(self) -> bool: ...
|
|
1258
1304
|
|
|
1305
|
+
@typing.final
|
|
1259
1306
|
class PickerFlyoutBase_Static(type):
|
|
1260
1307
|
def get_title(cls, element: typing.Optional[winrt.windows.ui.xaml.DependencyObject], /) -> str: ...
|
|
1261
1308
|
def set_title(cls, element: typing.Optional[winrt.windows.ui.xaml.DependencyObject], value: str, /) -> None: ...
|
|
1262
1309
|
@_property
|
|
1263
1310
|
def title_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
1264
1311
|
|
|
1312
|
+
@typing.final
|
|
1265
1313
|
class PickerFlyoutBase(winrt.system.Object, metaclass=PickerFlyoutBase_Static):
|
|
1266
1314
|
@staticmethod
|
|
1267
1315
|
def _from(obj: winrt.system.Object, /) -> PickerFlyoutBase: ...
|
|
1268
|
-
def on_confirmed(self) -> None: ...
|
|
1269
|
-
def should_show_confirmation_buttons(self) -> bool: ...
|
|
1270
1316
|
|
|
1317
|
+
@typing.final
|
|
1271
1318
|
class PivotHeaderItem(winrt.system.Object):
|
|
1272
1319
|
@staticmethod
|
|
1273
1320
|
def _from(obj: winrt.system.Object, /) -> PivotHeaderItem: ...
|
|
1274
1321
|
def __new__(cls: typing.Type[PivotHeaderItem]) -> PivotHeaderItem:...
|
|
1275
1322
|
|
|
1323
|
+
@typing.final
|
|
1276
1324
|
class PivotHeaderPanel(winrt.system.Object):
|
|
1277
1325
|
@staticmethod
|
|
1278
1326
|
def _from(obj: winrt.system.Object, /) -> PivotHeaderPanel: ...
|
|
1279
1327
|
def __new__(cls: typing.Type[PivotHeaderPanel]) -> PivotHeaderPanel:...
|
|
1280
1328
|
|
|
1329
|
+
@typing.final
|
|
1281
1330
|
class PivotPanel(winrt.system.Object):
|
|
1282
1331
|
@staticmethod
|
|
1283
1332
|
def _from(obj: winrt.system.Object, /) -> PivotPanel: ...
|
|
@@ -1293,6 +1342,7 @@ class PivotPanel(winrt.system.Object):
|
|
|
1293
1342
|
@_property
|
|
1294
1343
|
def are_vertical_snap_points_regular(self) -> bool: ...
|
|
1295
1344
|
|
|
1345
|
+
@typing.final
|
|
1296
1346
|
class Popup_Static(type):
|
|
1297
1347
|
@_property
|
|
1298
1348
|
def child_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
@@ -1315,6 +1365,7 @@ class Popup_Static(type):
|
|
|
1315
1365
|
@_property
|
|
1316
1366
|
def placement_target_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
1317
1367
|
|
|
1368
|
+
@typing.final
|
|
1318
1369
|
class Popup(winrt.system.Object, metaclass=Popup_Static):
|
|
1319
1370
|
@staticmethod
|
|
1320
1371
|
def _from(obj: winrt.system.Object, /) -> Popup: ...
|
|
@@ -1370,6 +1421,7 @@ class Popup(winrt.system.Object, metaclass=Popup_Static):
|
|
|
1370
1421
|
@_property
|
|
1371
1422
|
def actual_placement(self) -> PopupPlacementMode: ...
|
|
1372
1423
|
|
|
1424
|
+
@typing.final
|
|
1373
1425
|
class ProgressBarTemplateSettings(winrt.system.Object):
|
|
1374
1426
|
@staticmethod
|
|
1375
1427
|
def _from(obj: winrt.system.Object, /) -> ProgressBarTemplateSettings: ...
|
|
@@ -1388,6 +1440,7 @@ class ProgressBarTemplateSettings(winrt.system.Object):
|
|
|
1388
1440
|
@_property
|
|
1389
1441
|
def indicator_length_delta(self) -> winrt.system.Double: ...
|
|
1390
1442
|
|
|
1443
|
+
@typing.final
|
|
1391
1444
|
class ProgressRingTemplateSettings(winrt.system.Object):
|
|
1392
1445
|
@staticmethod
|
|
1393
1446
|
def _from(obj: winrt.system.Object, /) -> ProgressRingTemplateSettings: ...
|
|
@@ -1398,6 +1451,7 @@ class ProgressRingTemplateSettings(winrt.system.Object):
|
|
|
1398
1451
|
@_property
|
|
1399
1452
|
def max_side_length(self) -> winrt.system.Double: ...
|
|
1400
1453
|
|
|
1454
|
+
@typing.final
|
|
1401
1455
|
class RangeBase_Static(type):
|
|
1402
1456
|
@_property
|
|
1403
1457
|
def large_change_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
@@ -1410,12 +1464,10 @@ class RangeBase_Static(type):
|
|
|
1410
1464
|
@_property
|
|
1411
1465
|
def value_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
1412
1466
|
|
|
1467
|
+
@typing.final
|
|
1413
1468
|
class RangeBase(winrt.system.Object, metaclass=RangeBase_Static):
|
|
1414
1469
|
@staticmethod
|
|
1415
1470
|
def _from(obj: winrt.system.Object, /) -> RangeBase: ...
|
|
1416
|
-
def on_maximum_changed(self, old_maximum: winrt.system.Double, new_maximum: winrt.system.Double, /) -> None: ...
|
|
1417
|
-
def on_minimum_changed(self, old_minimum: winrt.system.Double, new_minimum: winrt.system.Double, /) -> None: ...
|
|
1418
|
-
def on_value_changed(self, old_value: winrt.system.Double, new_value: winrt.system.Double, /) -> None: ...
|
|
1419
1471
|
def add_value_changed(self, handler: typing.Optional[RangeBaseValueChangedEventHandler], /) -> winrt.windows.foundation.EventRegistrationToken: ...
|
|
1420
1472
|
def remove_value_changed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
|
|
1421
1473
|
@_property
|
|
@@ -1439,6 +1491,7 @@ class RangeBase(winrt.system.Object, metaclass=RangeBase_Static):
|
|
|
1439
1491
|
@large_change.setter
|
|
1440
1492
|
def large_change(self, value: winrt.system.Double) -> None: ...
|
|
1441
1493
|
|
|
1494
|
+
@typing.final
|
|
1442
1495
|
class RangeBaseValueChangedEventArgs(winrt.system.Object):
|
|
1443
1496
|
@staticmethod
|
|
1444
1497
|
def _from(obj: winrt.system.Object, /) -> RangeBaseValueChangedEventArgs: ...
|
|
@@ -1447,12 +1500,14 @@ class RangeBaseValueChangedEventArgs(winrt.system.Object):
|
|
|
1447
1500
|
@_property
|
|
1448
1501
|
def old_value(self) -> winrt.system.Double: ...
|
|
1449
1502
|
|
|
1503
|
+
@typing.final
|
|
1450
1504
|
class RepeatButton_Static(type):
|
|
1451
1505
|
@_property
|
|
1452
1506
|
def delay_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
1453
1507
|
@_property
|
|
1454
1508
|
def interval_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
1455
1509
|
|
|
1510
|
+
@typing.final
|
|
1456
1511
|
class RepeatButton(winrt.system.Object, metaclass=RepeatButton_Static):
|
|
1457
1512
|
@staticmethod
|
|
1458
1513
|
def _from(obj: winrt.system.Object, /) -> RepeatButton: ...
|
|
@@ -1466,6 +1521,7 @@ class RepeatButton(winrt.system.Object, metaclass=RepeatButton_Static):
|
|
|
1466
1521
|
@delay.setter
|
|
1467
1522
|
def delay(self, value: winrt.system.Int32) -> None: ...
|
|
1468
1523
|
|
|
1524
|
+
@typing.final
|
|
1469
1525
|
class ScrollBar_Static(type):
|
|
1470
1526
|
@_property
|
|
1471
1527
|
def indicator_mode_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
@@ -1474,6 +1530,7 @@ class ScrollBar_Static(type):
|
|
|
1474
1530
|
@_property
|
|
1475
1531
|
def viewport_size_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
1476
1532
|
|
|
1533
|
+
@typing.final
|
|
1477
1534
|
class ScrollBar(winrt.system.Object, metaclass=ScrollBar_Static):
|
|
1478
1535
|
@staticmethod
|
|
1479
1536
|
def _from(obj: winrt.system.Object, /) -> ScrollBar: ...
|
|
@@ -1493,6 +1550,7 @@ class ScrollBar(winrt.system.Object, metaclass=ScrollBar_Static):
|
|
|
1493
1550
|
@indicator_mode.setter
|
|
1494
1551
|
def indicator_mode(self, value: ScrollingIndicatorMode) -> None: ...
|
|
1495
1552
|
|
|
1553
|
+
@typing.final
|
|
1496
1554
|
class ScrollEventArgs(winrt.system.Object):
|
|
1497
1555
|
@staticmethod
|
|
1498
1556
|
def _from(obj: winrt.system.Object, /) -> ScrollEventArgs: ...
|
|
@@ -1502,6 +1560,7 @@ class ScrollEventArgs(winrt.system.Object):
|
|
|
1502
1560
|
@_property
|
|
1503
1561
|
def scroll_event_type(self) -> ScrollEventType: ...
|
|
1504
1562
|
|
|
1563
|
+
@typing.final
|
|
1505
1564
|
class Selector_Static(type):
|
|
1506
1565
|
def get_is_selection_active(cls, element: typing.Optional[winrt.windows.ui.xaml.DependencyObject], /) -> bool: ...
|
|
1507
1566
|
@_property
|
|
@@ -1515,6 +1574,7 @@ class Selector_Static(type):
|
|
|
1515
1574
|
@_property
|
|
1516
1575
|
def selected_value_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
1517
1576
|
|
|
1577
|
+
@typing.final
|
|
1518
1578
|
class Selector(winrt.system.Object, metaclass=Selector_Static):
|
|
1519
1579
|
@staticmethod
|
|
1520
1580
|
def _from(obj: winrt.system.Object, /) -> Selector: ...
|
|
@@ -1541,10 +1601,12 @@ class Selector(winrt.system.Object, metaclass=Selector_Static):
|
|
|
1541
1601
|
@is_synchronized_with_current_item.setter
|
|
1542
1602
|
def is_synchronized_with_current_item(self, value: typing.Optional[typing.Optional[bool]]) -> None: ...
|
|
1543
1603
|
|
|
1604
|
+
@typing.final
|
|
1544
1605
|
class SelectorItem_Static(type):
|
|
1545
1606
|
@_property
|
|
1546
1607
|
def is_selected_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
1547
1608
|
|
|
1609
|
+
@typing.final
|
|
1548
1610
|
class SelectorItem(winrt.system.Object, metaclass=SelectorItem_Static):
|
|
1549
1611
|
@staticmethod
|
|
1550
1612
|
def _from(obj: winrt.system.Object, /) -> SelectorItem: ...
|
|
@@ -1553,6 +1615,7 @@ class SelectorItem(winrt.system.Object, metaclass=SelectorItem_Static):
|
|
|
1553
1615
|
@is_selected.setter
|
|
1554
1616
|
def is_selected(self, value: bool) -> None: ...
|
|
1555
1617
|
|
|
1618
|
+
@typing.final
|
|
1556
1619
|
class SettingsFlyoutTemplateSettings(winrt.system.Object):
|
|
1557
1620
|
@staticmethod
|
|
1558
1621
|
def _from(obj: winrt.system.Object, /) -> SettingsFlyoutTemplateSettings: ...
|
|
@@ -1569,6 +1632,7 @@ class SettingsFlyoutTemplateSettings(winrt.system.Object):
|
|
|
1569
1632
|
@_property
|
|
1570
1633
|
def icon_source(self) -> typing.Optional[winrt.windows.ui.xaml.media.ImageSource]: ...
|
|
1571
1634
|
|
|
1635
|
+
@typing.final
|
|
1572
1636
|
class SplitViewTemplateSettings(winrt.system.Object):
|
|
1573
1637
|
@staticmethod
|
|
1574
1638
|
def _from(obj: winrt.system.Object, /) -> SplitViewTemplateSettings: ...
|
|
@@ -1585,10 +1649,12 @@ class SplitViewTemplateSettings(winrt.system.Object):
|
|
|
1585
1649
|
@_property
|
|
1586
1650
|
def open_pane_length_minus_compact_length(self) -> winrt.system.Double: ...
|
|
1587
1651
|
|
|
1652
|
+
@typing.final
|
|
1588
1653
|
class Thumb_Static(type):
|
|
1589
1654
|
@_property
|
|
1590
1655
|
def is_dragging_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
1591
1656
|
|
|
1657
|
+
@typing.final
|
|
1592
1658
|
class Thumb(winrt.system.Object, metaclass=Thumb_Static):
|
|
1593
1659
|
@staticmethod
|
|
1594
1660
|
def _from(obj: winrt.system.Object, /) -> Thumb: ...
|
|
@@ -1603,10 +1669,12 @@ class Thumb(winrt.system.Object, metaclass=Thumb_Static):
|
|
|
1603
1669
|
@_property
|
|
1604
1670
|
def is_dragging(self) -> bool: ...
|
|
1605
1671
|
|
|
1672
|
+
@typing.final
|
|
1606
1673
|
class TickBar_Static(type):
|
|
1607
1674
|
@_property
|
|
1608
1675
|
def fill_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
1609
1676
|
|
|
1677
|
+
@typing.final
|
|
1610
1678
|
class TickBar(winrt.system.Object, metaclass=TickBar_Static):
|
|
1611
1679
|
@staticmethod
|
|
1612
1680
|
def _from(obj: winrt.system.Object, /) -> TickBar: ...
|
|
@@ -1616,17 +1684,18 @@ class TickBar(winrt.system.Object, metaclass=TickBar_Static):
|
|
|
1616
1684
|
@fill.setter
|
|
1617
1685
|
def fill(self, value: typing.Optional[winrt.windows.ui.xaml.media.Brush]) -> None: ...
|
|
1618
1686
|
|
|
1687
|
+
@typing.final
|
|
1619
1688
|
class ToggleButton_Static(type):
|
|
1620
1689
|
@_property
|
|
1621
1690
|
def is_checked_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
1622
1691
|
@_property
|
|
1623
1692
|
def is_three_state_property(cls) -> typing.Optional[winrt.windows.ui.xaml.DependencyProperty]: ...
|
|
1624
1693
|
|
|
1694
|
+
@typing.final
|
|
1625
1695
|
class ToggleButton(winrt.system.Object, metaclass=ToggleButton_Static):
|
|
1626
1696
|
@staticmethod
|
|
1627
1697
|
def _from(obj: winrt.system.Object, /) -> ToggleButton: ...
|
|
1628
1698
|
def __new__(cls: typing.Type[ToggleButton]) -> ToggleButton:...
|
|
1629
|
-
def on_toggle(self) -> None: ...
|
|
1630
1699
|
def add_checked(self, handler: typing.Optional[winrt.windows.ui.xaml.RoutedEventHandler], /) -> winrt.windows.foundation.EventRegistrationToken: ...
|
|
1631
1700
|
def remove_checked(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
|
|
1632
1701
|
def add_indeterminate(self, handler: typing.Optional[winrt.windows.ui.xaml.RoutedEventHandler], /) -> winrt.windows.foundation.EventRegistrationToken: ...
|
|
@@ -1642,6 +1711,7 @@ class ToggleButton(winrt.system.Object, metaclass=ToggleButton_Static):
|
|
|
1642
1711
|
@is_checked.setter
|
|
1643
1712
|
def is_checked(self, value: typing.Optional[typing.Optional[bool]]) -> None: ...
|
|
1644
1713
|
|
|
1714
|
+
@typing.final
|
|
1645
1715
|
class ToggleSwitchTemplateSettings(winrt.system.Object):
|
|
1646
1716
|
@staticmethod
|
|
1647
1717
|
def _from(obj: winrt.system.Object, /) -> ToggleSwitchTemplateSettings: ...
|
|
@@ -1662,6 +1732,7 @@ class ToggleSwitchTemplateSettings(winrt.system.Object):
|
|
|
1662
1732
|
@_property
|
|
1663
1733
|
def knob_on_to_off_offset(self) -> winrt.system.Double: ...
|
|
1664
1734
|
|
|
1735
|
+
@typing.final
|
|
1665
1736
|
class ToolTipTemplateSettings(winrt.system.Object):
|
|
1666
1737
|
@staticmethod
|
|
1667
1738
|
def _from(obj: winrt.system.Object, /) -> ToolTipTemplateSettings: ...
|
|
@@ -1670,6 +1741,7 @@ class ToolTipTemplateSettings(winrt.system.Object):
|
|
|
1670
1741
|
@_property
|
|
1671
1742
|
def from_vertical_offset(self) -> winrt.system.Double: ...
|
|
1672
1743
|
|
|
1744
|
+
@typing.final
|
|
1673
1745
|
class IScrollSnapPointsInfo(winrt.system.Object):
|
|
1674
1746
|
@staticmethod
|
|
1675
1747
|
def _from(obj: winrt.system.Object, /) -> IScrollSnapPointsInfo: ...
|
winrt_windows_ui_xaml_controls_primitives-2.0.1/winrt/windows/ui/xaml/controls/primitives/py.typed
ADDED
|
File without changes
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.UI.Xaml.Controls.Primitives
|
|
3
|
+
Version: 2.0.1
|
|
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.13,>=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==2.0.1
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.0.1; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.UI[all]==2.0.1; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.UI.Xaml[all]==2.0.1; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.UI.Xaml.Controls[all]==2.0.1; extra == "all"
|
|
23
|
+
Requires-Dist: winrt-Windows.UI.Xaml.Input[all]==2.0.1; extra == "all"
|
|
24
|
+
Requires-Dist: winrt-Windows.UI.Xaml.Interop[all]==2.0.1; extra == "all"
|
|
25
|
+
Requires-Dist: winrt-Windows.UI.Xaml.Media[all]==2.0.1; extra == "all"
|
|
26
|
+
Requires-Dist: winrt-Windows.UI.Xaml.Media.Animation[all]==2.0.1; extra == "all"
|
|
27
|
+
|
|
28
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
29
|
+
|
|
30
|
+
# winrt-Windows.UI.Xaml.Controls.Primitives
|
|
31
|
+
|
|
32
|
+
Windows Runtime (WinRT) APIs for for the `Windows.UI.Xaml.Controls.Primitives` namespace.
|
|
33
|
+
|
|
34
|
+
This package provides the `winrt.windows.ui.xaml.controls.primitives` module.
|
|
@@ -7,6 +7,7 @@ requirements.txt
|
|
|
7
7
|
setup.py
|
|
8
8
|
winrt/_winrt_windows_ui_xaml_controls_primitives.pyi
|
|
9
9
|
winrt/windows/ui/xaml/controls/primitives/__init__.py
|
|
10
|
+
winrt/windows/ui/xaml/controls/primitives/py.typed
|
|
10
11
|
winrt_Windows.UI.Xaml.Controls.Primitives.egg-info/PKG-INFO
|
|
11
12
|
winrt_Windows.UI.Xaml.Controls.Primitives.egg-info/SOURCES.txt
|
|
12
13
|
winrt_Windows.UI.Xaml.Controls.Primitives.egg-info/dependency_links.txt
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
winrt-runtime==2.0.1
|
|
2
|
+
|
|
3
|
+
[all]
|
|
4
|
+
winrt-Windows.Foundation[all]==2.0.1
|
|
5
|
+
winrt-Windows.Foundation.Collections[all]==2.0.1
|
|
6
|
+
winrt-Windows.Foundation.Numerics[all]==2.0.1
|
|
7
|
+
winrt-Windows.UI[all]==2.0.1
|
|
8
|
+
winrt-Windows.UI.Xaml[all]==2.0.1
|
|
9
|
+
winrt-Windows.UI.Xaml.Controls[all]==2.0.1
|
|
10
|
+
winrt-Windows.UI.Xaml.Input[all]==2.0.1
|
|
11
|
+
winrt-Windows.UI.Xaml.Interop[all]==2.0.1
|
|
12
|
+
winrt-Windows.UI.Xaml.Media[all]==2.0.1
|
|
13
|
+
winrt-Windows.UI.Xaml.Media.Animation[all]==2.0.1
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: winrt-Windows.UI.Xaml.Controls.Primitives
|
|
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
|
-
Provides-Extra: all
|
|
15
|
-
|
|
16
|
-
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
|
-
|
|
18
|
-
# winrt-Windows.UI.Xaml.Controls.Primitives
|
|
19
|
-
|
|
20
|
-
Windows Runtime (WinRT) APIs for for the `Windows.UI.Xaml.Controls.Primitives` namespace.
|
|
21
|
-
|
|
22
|
-
This package provides the `winrt.windows.ui.xaml.controls.primitives` module.
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
|
|
2
|
-
|
|
3
|
-
winrt-Windows.Foundation[all]==2.0.0-beta.1
|
|
4
|
-
winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
|
|
5
|
-
winrt-Windows.Foundation.Numerics[all]==2.0.0-beta.1
|
|
6
|
-
winrt-Windows.UI[all]==2.0.0-beta.1
|
|
7
|
-
winrt-Windows.UI.Xaml[all]==2.0.0-beta.1
|
|
8
|
-
winrt-Windows.UI.Xaml.Controls[all]==2.0.0-beta.1
|
|
9
|
-
winrt-Windows.UI.Xaml.Input[all]==2.0.0-beta.1
|
|
10
|
-
winrt-Windows.UI.Xaml.Interop[all]==2.0.0-beta.1
|
|
11
|
-
winrt-Windows.UI.Xaml.Media[all]==2.0.0-beta.1
|
|
12
|
-
winrt-Windows.UI.Xaml.Media.Animation[all]==2.0.0-beta.1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.0-beta.1
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
-
|
|
3
|
-
from setuptools import Extension, setup
|
|
4
|
-
from winrt_sdk import get_include_dirs
|
|
5
|
-
|
|
6
|
-
setup(
|
|
7
|
-
ext_modules=[
|
|
8
|
-
Extension(
|
|
9
|
-
"winrt._winrt_windows_ui_xaml_controls_primitives",
|
|
10
|
-
sources=["py.Windows.UI.Xaml.Controls.Primitives.cpp"],
|
|
11
|
-
include_dirs=get_include_dirs(),
|
|
12
|
-
extra_compile_args=["/std:c++20", "/permissive-"],
|
|
13
|
-
libraries=["windowsapp"],
|
|
14
|
-
)
|
|
15
|
-
],
|
|
16
|
-
package_data={"winrt": ["*.pyi"]},
|
|
17
|
-
)
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: winrt-Windows.UI.Xaml.Controls.Primitives
|
|
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
|
-
Provides-Extra: all
|
|
15
|
-
|
|
16
|
-
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
|
-
|
|
18
|
-
# winrt-Windows.UI.Xaml.Controls.Primitives
|
|
19
|
-
|
|
20
|
-
Windows Runtime (WinRT) APIs for for the `Windows.UI.Xaml.Controls.Primitives` namespace.
|
|
21
|
-
|
|
22
|
-
This package provides the `winrt.windows.ui.xaml.controls.primitives` module.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
winrt-runtime==2.0.0-beta.1
|
|
2
|
-
|
|
3
|
-
[all]
|
|
4
|
-
winrt-Windows.Foundation[all]==2.0.0-beta.1
|
|
5
|
-
winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
|
|
6
|
-
winrt-Windows.Foundation.Numerics[all]==2.0.0-beta.1
|
|
7
|
-
winrt-Windows.UI[all]==2.0.0-beta.1
|
|
8
|
-
winrt-Windows.UI.Xaml[all]==2.0.0-beta.1
|
|
9
|
-
winrt-Windows.UI.Xaml.Controls[all]==2.0.0-beta.1
|
|
10
|
-
winrt-Windows.UI.Xaml.Input[all]==2.0.0-beta.1
|
|
11
|
-
winrt-Windows.UI.Xaml.Interop[all]==2.0.0-beta.1
|
|
12
|
-
winrt-Windows.UI.Xaml.Media[all]==2.0.0-beta.1
|
|
13
|
-
winrt-Windows.UI.Xaml.Media.Animation[all]==2.0.0-beta.1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|