winrt-Windows.UI.Notifications.Preview 2.3.0__tar.gz → 3.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_notifications_preview-2.3.0 → winrt_windows_ui_notifications_preview-3.1.0}/PKG-INFO +6 -6
- {winrt_windows_ui_notifications_preview-2.3.0 → winrt_windows_ui_notifications_preview-3.1.0}/all-requirements.txt +2 -2
- {winrt_windows_ui_notifications_preview-2.3.0 → winrt_windows_ui_notifications_preview-3.1.0}/py.Windows.UI.Notifications.Preview.cpp +27 -18
- {winrt_windows_ui_notifications_preview-2.3.0 → winrt_windows_ui_notifications_preview-3.1.0}/pyproject.toml +4 -4
- winrt_windows_ui_notifications_preview-3.1.0/pywinrt-version.txt +1 -0
- {winrt_windows_ui_notifications_preview-2.3.0 → winrt_windows_ui_notifications_preview-3.1.0}/requirements.txt +2 -2
- {winrt_windows_ui_notifications_preview-2.3.0 → winrt_windows_ui_notifications_preview-3.1.0}/setup.py +1 -1
- {winrt_windows_ui_notifications_preview-2.3.0 → winrt_windows_ui_notifications_preview-3.1.0}/winrt/_winrt_windows_ui_notifications_preview.pyi +4 -3
- winrt_windows_ui_notifications_preview-3.1.0/winrt/windows/ui/notifications/preview/__init__.py +11 -0
- {winrt_windows_ui_notifications_preview-2.3.0 → winrt_windows_ui_notifications_preview-3.1.0}/winrt_Windows.UI.Notifications.Preview.egg-info/PKG-INFO +6 -6
- winrt_windows_ui_notifications_preview-3.1.0/winrt_Windows.UI.Notifications.Preview.egg-info/requires.txt +4 -0
- winrt_windows_ui_notifications_preview-2.3.0/pywinrt-version.txt +0 -1
- winrt_windows_ui_notifications_preview-2.3.0/winrt/windows/ui/notifications/preview/__init__.py +0 -10
- winrt_windows_ui_notifications_preview-2.3.0/winrt_Windows.UI.Notifications.Preview.egg-info/requires.txt +0 -4
- {winrt_windows_ui_notifications_preview-2.3.0 → winrt_windows_ui_notifications_preview-3.1.0}/README.md +0 -0
- {winrt_windows_ui_notifications_preview-2.3.0 → winrt_windows_ui_notifications_preview-3.1.0}/setup.cfg +0 -0
- {winrt_windows_ui_notifications_preview-2.3.0 → winrt_windows_ui_notifications_preview-3.1.0}/winrt/windows/ui/notifications/preview/py.typed +0 -0
- {winrt_windows_ui_notifications_preview-2.3.0 → winrt_windows_ui_notifications_preview-3.1.0}/winrt_Windows.UI.Notifications.Preview.egg-info/SOURCES.txt +0 -0
- {winrt_windows_ui_notifications_preview-2.3.0 → winrt_windows_ui_notifications_preview-3.1.0}/winrt_Windows.UI.Notifications.Preview.egg-info/dependency_links.txt +0 -0
- {winrt_windows_ui_notifications_preview-2.3.0 → winrt_windows_ui_notifications_preview-3.1.0}/winrt_Windows.UI.Notifications.Preview.egg-info/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: winrt-Windows.UI.Notifications.Preview
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
-
License: MIT
|
|
5
|
+
License-Expression: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
7
|
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
@@ -10,11 +10,11 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.UI[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.UI[all]==3.1.0; extra == "all"
|
|
18
18
|
|
|
19
19
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
20
20
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
|
|
2
2
|
|
|
3
|
-
winrt-Windows.UI[all]==
|
|
3
|
+
winrt-Windows.UI[all]==3.1.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.UI.Notifications.Preview.h"
|
|
4
4
|
|
|
@@ -15,7 +15,7 @@ namespace py::cpp::Windows::UI::Notifications::Preview
|
|
|
15
15
|
|
|
16
16
|
static PyObject* ToastOcclusionManagerPreview_SetToastWindowMargin(PyObject* /*unused*/, PyObject* args) noexcept
|
|
17
17
|
{
|
|
18
|
-
auto arg_count =
|
|
18
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
19
19
|
|
|
20
20
|
if (arg_count == 2)
|
|
21
21
|
{
|
|
@@ -37,7 +37,11 @@ namespace py::cpp::Windows::UI::Notifications::Preview
|
|
|
37
37
|
auto param0 = py::convert_to<winrt::Windows::UI::WindowId>(args, 0);
|
|
38
38
|
auto param1 = py::convert_to<double>(args, 1);
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
{
|
|
41
|
+
auto _gil = release_gil();
|
|
42
|
+
winrt::Windows::UI::Notifications::Preview::ToastOcclusionManagerPreview::SetToastWindowMargin(param0, param1);
|
|
43
|
+
}
|
|
44
|
+
|
|
41
45
|
Py_RETURN_NONE;
|
|
42
46
|
}
|
|
43
47
|
catch (...)
|
|
@@ -54,19 +58,16 @@ namespace py::cpp::Windows::UI::Notifications::Preview
|
|
|
54
58
|
}
|
|
55
59
|
|
|
56
60
|
static PyMethodDef _methods_ToastOcclusionManagerPreview[] = {
|
|
57
|
-
{ }
|
|
58
|
-
};
|
|
61
|
+
{ }};
|
|
59
62
|
|
|
60
63
|
static PyGetSetDef _getset_ToastOcclusionManagerPreview[] = {
|
|
61
|
-
{ }
|
|
62
|
-
};
|
|
64
|
+
{ }};
|
|
63
65
|
|
|
64
66
|
static PyType_Slot _type_slots_ToastOcclusionManagerPreview[] = {
|
|
65
67
|
{ Py_tp_new, reinterpret_cast<void*>(_new_ToastOcclusionManagerPreview) },
|
|
66
68
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_ToastOcclusionManagerPreview) },
|
|
67
69
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_ToastOcclusionManagerPreview) },
|
|
68
|
-
{ }
|
|
69
|
-
};
|
|
70
|
+
{ }};
|
|
70
71
|
|
|
71
72
|
static PyType_Spec type_spec_ToastOcclusionManagerPreview = {
|
|
72
73
|
"winrt._winrt_windows_ui_notifications_preview.ToastOcclusionManagerPreview",
|
|
@@ -76,13 +77,11 @@ namespace py::cpp::Windows::UI::Notifications::Preview
|
|
|
76
77
|
_type_slots_ToastOcclusionManagerPreview};
|
|
77
78
|
|
|
78
79
|
static PyGetSetDef getset_ToastOcclusionManagerPreview_Static[] = {
|
|
79
|
-
{ }
|
|
80
|
-
};
|
|
80
|
+
{ }};
|
|
81
81
|
|
|
82
82
|
static PyMethodDef methods_ToastOcclusionManagerPreview_Static[] = {
|
|
83
83
|
{ "set_toast_window_margin", reinterpret_cast<PyCFunction>(ToastOcclusionManagerPreview_SetToastWindowMargin), METH_VARARGS, nullptr },
|
|
84
|
-
{ }
|
|
85
|
-
};
|
|
84
|
+
{ }};
|
|
86
85
|
|
|
87
86
|
static PyType_Slot type_slots_ToastOcclusionManagerPreview_Static[] =
|
|
88
87
|
{
|
|
@@ -92,14 +91,12 @@ namespace py::cpp::Windows::UI::Notifications::Preview
|
|
|
92
91
|
{ }
|
|
93
92
|
};
|
|
94
93
|
|
|
95
|
-
static PyType_Spec type_spec_ToastOcclusionManagerPreview_Static =
|
|
96
|
-
{
|
|
94
|
+
static PyType_Spec type_spec_ToastOcclusionManagerPreview_Static = {
|
|
97
95
|
"winrt._winrt_windows_ui_notifications_preview.ToastOcclusionManagerPreview_Static",
|
|
98
96
|
static_cast<int>(PyType_Type.tp_basicsize),
|
|
99
97
|
static_cast<int>(PyType_Type.tp_itemsize),
|
|
100
98
|
Py_TPFLAGS_DEFAULT,
|
|
101
|
-
type_slots_ToastOcclusionManagerPreview_Static
|
|
102
|
-
};
|
|
99
|
+
type_slots_ToastOcclusionManagerPreview_Static};
|
|
103
100
|
|
|
104
101
|
// ----- Windows.UI.Notifications.Preview Initialization --------------------
|
|
105
102
|
|
|
@@ -133,6 +130,12 @@ PyMODINIT_FUNC PyInit__winrt_windows_ui_notifications_preview(void) noexcept
|
|
|
133
130
|
return nullptr;
|
|
134
131
|
}
|
|
135
132
|
|
|
133
|
+
auto inspectable_meta_type = py::get_inspectable_meta_type();
|
|
134
|
+
if (!inspectable_meta_type)
|
|
135
|
+
{
|
|
136
|
+
return nullptr;
|
|
137
|
+
}
|
|
138
|
+
|
|
136
139
|
auto object_type = py::get_object_type();
|
|
137
140
|
if (!object_type)
|
|
138
141
|
{
|
|
@@ -146,7 +149,13 @@ PyMODINIT_FUNC PyInit__winrt_windows_ui_notifications_preview(void) noexcept
|
|
|
146
149
|
return nullptr;
|
|
147
150
|
}
|
|
148
151
|
|
|
149
|
-
py::pyobj_handle
|
|
152
|
+
py::pyobj_handle ToastOcclusionManagerPreview_Static_bases{PyTuple_Pack(1, reinterpret_cast<PyObject*>(inspectable_meta_type))};
|
|
153
|
+
if (!ToastOcclusionManagerPreview_Static_bases)
|
|
154
|
+
{
|
|
155
|
+
return nullptr;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
py::pyobj_handle type_ToastOcclusionManagerPreview_Static{PyType_FromSpecWithBases(&type_spec_ToastOcclusionManagerPreview_Static, ToastOcclusionManagerPreview_Static_bases.get())};
|
|
150
159
|
if (!type_ToastOcclusionManagerPreview_Static)
|
|
151
160
|
{
|
|
152
161
|
return nullptr;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
2
|
|
|
3
3
|
[build-system]
|
|
4
|
-
requires = ["setuptools", "winrt-sdk"]
|
|
4
|
+
requires = ["setuptools>=78", "winrt-sdk"]
|
|
5
5
|
build-backend = "setuptools.build_meta"
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "winrt-Windows.UI.Notifications.Preview"
|
|
9
9
|
description = "Python projection of Windows Runtime (WinRT) APIs"
|
|
10
10
|
readme = "README.md"
|
|
11
|
-
license =
|
|
11
|
+
license = "MIT"
|
|
12
12
|
classifiers = [
|
|
13
13
|
"Operating System :: Microsoft :: Windows",
|
|
14
14
|
"Programming Language :: Python :: 3",
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9
|
|
19
|
+
requires-python = ">=3.9"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -34,7 +34,7 @@ optional-dependencies.all = { file = "all-requirements.txt" }
|
|
|
34
34
|
|
|
35
35
|
[tool.cibuildwheel]
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
37
|
-
environment = { PYTHONPATH="
|
|
37
|
+
environment = { PYTHONPATH="../../winrt-sdk/src" }
|
|
38
38
|
# don't install winrt-sdk from PyPI
|
|
39
39
|
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
40
40
|
before-build = "uv pip install setuptools"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.1.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==
|
|
3
|
+
winrt-runtime==3.1.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -14,8 +14,9 @@ import winrt.windows.ui as windows_ui
|
|
|
14
14
|
Self = typing.TypeVar('Self')
|
|
15
15
|
|
|
16
16
|
@typing.final
|
|
17
|
-
class ToastOcclusionManagerPreview_Static(
|
|
18
|
-
|
|
17
|
+
class ToastOcclusionManagerPreview_Static(winrt._winrt.IInspectable_Static):
|
|
18
|
+
# System.Void Windows.UI.Notifications.Preview.ToastOcclusionManagerPreview::SetToastWindowMargin(Windows.UI.WindowId,System.Double)
|
|
19
|
+
def set_toast_window_margin(cls, app_window_id: typing.Union[windows_ui.WindowId, typing.Tuple[winrt.system.UInt64]], margin: winrt.system.Double, /) -> None: ...
|
|
19
20
|
|
|
20
21
|
@typing.final
|
|
21
22
|
class ToastOcclusionManagerPreview(winrt.system.Object, metaclass=ToastOcclusionManagerPreview_Static):
|
winrt_windows_ui_notifications_preview-3.1.0/winrt/windows/ui/notifications/preview/__init__.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0
|
|
2
|
+
|
|
3
|
+
import winrt.system
|
|
4
|
+
from winrt._winrt_windows_ui_notifications_preview import (
|
|
5
|
+
ToastOcclusionManagerPreview,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"ToastOcclusionManagerPreview",
|
|
10
|
+
]
|
|
11
|
+
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: winrt-Windows.UI.Notifications.Preview
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.1.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
-
License: MIT
|
|
5
|
+
License-Expression: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
7
|
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
@@ -10,11 +10,11 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.1.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.UI[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.UI[all]==3.1.0; extra == "all"
|
|
18
18
|
|
|
19
19
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
20
20
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.3.0
|
winrt_windows_ui_notifications_preview-2.3.0/winrt/windows/ui/notifications/preview/__init__.py
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
|
-
|
|
3
|
-
import winrt.system
|
|
4
|
-
from winrt import _winrt_windows_ui_notifications_preview
|
|
5
|
-
|
|
6
|
-
__all__ = [
|
|
7
|
-
"ToastOcclusionManagerPreview",
|
|
8
|
-
]
|
|
9
|
-
|
|
10
|
-
ToastOcclusionManagerPreview = _winrt_windows_ui_notifications_preview.ToastOcclusionManagerPreview
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|