winrt-Windows.ApplicationModel.Preview.InkWorkspace 3.2.1__tar.gz → 4!10.0.28000.2705__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.
Files changed (23) hide show
  1. winrt_windows_applicationmodel_preview_inkworkspace-4!10.0.28000.2705/.gitignore +5 -0
  2. winrt_windows_applicationmodel_preview_inkworkspace-4!10.0.28000.2705/LICENSE +22 -0
  3. winrt_windows_applicationmodel_preview_inkworkspace-4!10.0.28000.2705/PKG-INFO +45 -0
  4. winrt_windows_applicationmodel_preview_inkworkspace-4!10.0.28000.2705/README.md +17 -0
  5. winrt_windows_applicationmodel_preview_inkworkspace-4!10.0.28000.2705/pyproject.toml +57 -0
  6. {winrt_windows_applicationmodel_preview_inkworkspace-3.2.1 → winrt_windows_applicationmodel_preview_inkworkspace-4!10.0.28000.2705}/winrt/windows/applicationmodel/preview/inkworkspace/__init__.py +4 -4
  7. winrt_windows_applicationmodel_preview_inkworkspace-3.2.1/winrt/_winrt_windows_applicationmodel_preview_inkworkspace.pyi → winrt_windows_applicationmodel_preview_inkworkspace-4!10.0.28000.2705/winrt/windows/applicationmodel/preview/inkworkspace/__init__.pyi +7 -9
  8. winrt_windows_applicationmodel_preview_inkworkspace-4!10.0.28000.2705/winrt/windows/applicationmodel/preview/inkworkspace/_table.pywinrt.txt +30 -0
  9. winrt_windows_applicationmodel_preview_inkworkspace-3.2.1/PKG-INFO +0 -26
  10. winrt_windows_applicationmodel_preview_inkworkspace-3.2.1/README.md +0 -7
  11. winrt_windows_applicationmodel_preview_inkworkspace-3.2.1/all-requirements.txt +0 -4
  12. winrt_windows_applicationmodel_preview_inkworkspace-3.2.1/py.Windows.ApplicationModel.Preview.InkWorkspace.cpp +0 -246
  13. winrt_windows_applicationmodel_preview_inkworkspace-3.2.1/pyproject.toml +0 -47
  14. winrt_windows_applicationmodel_preview_inkworkspace-3.2.1/pywinrt-version.txt +0 -1
  15. winrt_windows_applicationmodel_preview_inkworkspace-3.2.1/requirements.txt +0 -3
  16. winrt_windows_applicationmodel_preview_inkworkspace-3.2.1/setup.cfg +0 -4
  17. winrt_windows_applicationmodel_preview_inkworkspace-3.2.1/setup.py +0 -33
  18. winrt_windows_applicationmodel_preview_inkworkspace-3.2.1/winrt_Windows.ApplicationModel.Preview.InkWorkspace.egg-info/PKG-INFO +0 -26
  19. winrt_windows_applicationmodel_preview_inkworkspace-3.2.1/winrt_Windows.ApplicationModel.Preview.InkWorkspace.egg-info/SOURCES.txt +0 -15
  20. winrt_windows_applicationmodel_preview_inkworkspace-3.2.1/winrt_Windows.ApplicationModel.Preview.InkWorkspace.egg-info/dependency_links.txt +0 -1
  21. winrt_windows_applicationmodel_preview_inkworkspace-3.2.1/winrt_Windows.ApplicationModel.Preview.InkWorkspace.egg-info/requires.txt +0 -5
  22. winrt_windows_applicationmodel_preview_inkworkspace-3.2.1/winrt_Windows.ApplicationModel.Preview.InkWorkspace.egg-info/top_level.txt +0 -1
  23. {winrt_windows_applicationmodel_preview_inkworkspace-3.2.1 → winrt_windows_applicationmodel_preview_inkworkspace-4!10.0.28000.2705}/winrt/windows/applicationmodel/preview/inkworkspace/py.typed +0 -0
@@ -0,0 +1,5 @@
1
+ *.egg-info
2
+ *.tar.gz
3
+ *.whl
4
+ build/
5
+ dist/
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+ Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE
@@ -0,0 +1,45 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.ApplicationModel.Preview.InkWorkspace
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.ApplicationModel.Preview.InkWorkspace namespace
5
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
6
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: winrt-runtime<5,>=4.0.0
23
+ Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
24
+ Provides-Extra: all
25
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
26
+ Requires-Dist: winrt-windows-graphics-imaging[all]>=4!10.0.28000.2705; extra == 'all'
27
+ Description-Content-Type: text/markdown
28
+
29
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
30
+
31
+ # winrt-Windows.ApplicationModel.Preview.InkWorkspace
32
+
33
+ Windows Runtime (WinRT) APIs for the `Windows.ApplicationModel.Preview.InkWorkspace` namespace.
34
+
35
+ This package provides the `winrt.windows.applicationmodel.preview.inkworkspace` module.
36
+
37
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
38
+ `Microsoft.Windows.SDK.CPP` NuGet package.
39
+
40
+ ```
41
+ pip install winrt-Windows.ApplicationModel.Preview.InkWorkspace
42
+ ```
43
+
44
+ Other WinRT namespaces are packages of their own, so install the package of
45
+ each namespace your code imports from.
@@ -0,0 +1,17 @@
1
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
2
+
3
+ # winrt-Windows.ApplicationModel.Preview.InkWorkspace
4
+
5
+ Windows Runtime (WinRT) APIs for the `Windows.ApplicationModel.Preview.InkWorkspace` namespace.
6
+
7
+ This package provides the `winrt.windows.applicationmodel.preview.inkworkspace` module.
8
+
9
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
10
+ `Microsoft.Windows.SDK.CPP` NuGet package.
11
+
12
+ ```
13
+ pip install winrt-Windows.ApplicationModel.Preview.InkWorkspace
14
+ ```
15
+
16
+ Other WinRT namespaces are packages of their own, so install the package of
17
+ each namespace your code imports from.
@@ -0,0 +1,57 @@
1
+ # WARNING: Please don't edit this file. It was automatically generated.
2
+
3
+ [build-system]
4
+ requires = ["hatchling", "winrt-table-compiler>=4.0.0,<5"]
5
+ build-backend = "hatchling.build"
6
+
7
+ [project]
8
+ name = "winrt-Windows.ApplicationModel.Preview.InkWorkspace"
9
+ version = "4!10.0.28000.2705"
10
+ description = "PyWinRT projection of the Windows.ApplicationModel.Preview.InkWorkspace namespace"
11
+ readme = "README.md"
12
+ license = "MIT"
13
+ license-files = ["LICENSE"]
14
+ classifiers = [
15
+ "Operating System :: Microsoft :: Windows",
16
+ "Programming Language :: Python :: 3",
17
+ "Programming Language :: Python :: 3.11",
18
+ "Programming Language :: Python :: 3.12",
19
+ "Programming Language :: Python :: 3.13",
20
+ "Programming Language :: Python :: 3.14",
21
+ "Programming Language :: Python :: 3.15",
22
+ "Programming Language :: Python :: Implementation :: CPython",
23
+ "Intended Audience :: Developers",
24
+ "Programming Language :: Python :: Free Threading :: 2 - Beta",
25
+ "Typing :: Typed",
26
+ ]
27
+ requires-python = ">=3.11"
28
+ dependencies = [
29
+ "winrt-runtime>=4.0.0,<5",
30
+ "winrt-Windows.Foundation>=4!10.0.28000.2705",
31
+ ]
32
+
33
+ [project.optional-dependencies]
34
+ all = [
35
+ "winrt-Windows.Foundation[all]>=4!10.0.28000.2705",
36
+ "winrt-Windows.Graphics.Imaging[all]>=4!10.0.28000.2705",
37
+ ]
38
+
39
+ [project.urls]
40
+ Documentation = "https://pywinrt.readthedocs.io"
41
+ Repository = "https://github.com/pywinrt/pywinrt"
42
+ Changelog = "https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md"
43
+
44
+ [tool.hatch.build.targets.sdist]
45
+ # The text form of the table is what the source distribution carries, and the
46
+ # compiled form is build output wherever it turns up. Hatchling reads no
47
+ # .gitignore above the package, so it has to be told about the latter.
48
+ only-include = ["winrt", "LICENSE", "README.md"]
49
+ exclude = ["**/_table.pywinrt"]
50
+
51
+ [tool.hatch.build.targets.wheel]
52
+ packages = ["winrt"]
53
+ exclude = ["**/_table.pywinrt.txt"]
54
+
55
+ # winrt.table.build_hooks in winrt-table-compiler, which compiles each table
56
+ # the package carries and puts the result beside the __init__.py that loads it.
57
+ [tool.hatch.build.targets.wheel.hooks.winrt-table-compiler]
@@ -1,9 +1,9 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
2
 
3
+ import winrt.runtime._internals
3
4
  import winrt.system
4
- from winrt._winrt_windows_applicationmodel_preview_inkworkspace import (
5
- InkWorkspaceHostedAppManager,
6
- )
5
+
6
+ winrt.runtime._internals.load_projection(__spec__)
7
7
 
8
8
  __all__ = [
9
9
  "InkWorkspaceHostedAppManager",
@@ -1,26 +1,24 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
2
 
3
- import datetime
4
- import sys
5
- import types
6
3
  import typing
7
- import uuid as _uuid
8
- from builtins import property as _property
9
4
 
10
- import winrt._winrt
11
5
  import winrt.system
12
6
  import winrt.windows.foundation as windows_foundation
13
7
  import winrt.windows.graphics.imaging as windows_graphics_imaging
14
8
 
15
- Self = typing.TypeVar('Self')
9
+ __all__ = [
10
+ "InkWorkspaceHostedAppManager",
11
+ ]
16
12
 
17
13
  @typing.final
18
- class InkWorkspaceHostedAppManager_Static(winrt._winrt.IInspectable_Static):
14
+ class InkWorkspaceHostedAppManager_Static(winrt.system.Object_Static):
19
15
  # Windows.ApplicationModel.Preview.InkWorkspace.InkWorkspaceHostedAppManager Windows.ApplicationModel.Preview.InkWorkspace.InkWorkspaceHostedAppManager::GetForCurrentApp()
20
16
  def get_for_current_app(cls) -> InkWorkspaceHostedAppManager: ...
21
17
 
22
18
  @typing.final
23
19
  class InkWorkspaceHostedAppManager(winrt.system.Object, metaclass=InkWorkspaceHostedAppManager_Static):
20
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
21
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
24
22
  # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Preview.InkWorkspace.InkWorkspaceHostedAppManager::SetThumbnailAsync(Windows.Graphics.Imaging.SoftwareBitmap)
25
23
  def set_thumbnail_async(self, bitmap: windows_graphics_imaging.SoftwareBitmap, /) -> windows_foundation.IAsyncAction: ...
26
24
 
@@ -0,0 +1,30 @@
1
+ format 4.0
2
+ census 2e30db26-66c8-4551-85b9-a537376d8f99 1
3
+ namespace Windows.ApplicationModel.Preview.InkWorkspace
4
+
5
+ interface Windows.ApplicationModel.Preview.InkWorkspace.IInkWorkspaceHostedAppManager
6
+ guid fe0a7990-5e59-4bb7-8a63-7d218cd96300
7
+
8
+ interface Windows.ApplicationModel.Preview.InkWorkspace.IInkWorkspaceHostedAppManagerStatics
9
+ guid cbfd8cc5-a162-4bc4-84ee-e8716d5233c5
10
+
11
+ class Windows.ApplicationModel.Preview.InkWorkspace.InkWorkspaceHostedAppManager python_type
12
+ py InkWorkspaceHostedAppManager
13
+ signature rc(Windows.ApplicationModel.Preview.InkWorkspace.InkWorkspaceHostedAppManager;{fe0a7990-5e59-4bb7-8a63-7d218cd96300})
14
+ default Windows.ApplicationModel.Preview.InkWorkspace.IInkWorkspaceHostedAppManager
15
+ requires Windows.ApplicationModel.Preview.InkWorkspace.IInkWorkspaceHostedAppManager
16
+ factory Windows.ApplicationModel.Preview.InkWorkspace.IInkWorkspaceHostedAppManagerStatics
17
+ method get_for_current_app static
18
+ method GetForCurrentApp slot=6 inputs=0 outputs=1 declaring=Windows.ApplicationModel.Preview.InkWorkspace.IInkWorkspaceHostedAppManagerStatics shape=4 static
19
+ out class type=Windows.ApplicationModel.Preview.InkWorkspace.InkWorkspaceHostedAppManager return
20
+ method set_thumbnail_async
21
+ method SetThumbnailAsync slot=6 inputs=1 outputs=1 declaring=Windows.ApplicationModel.Preview.InkWorkspace.IInkWorkspaceHostedAppManager shape=51
22
+ in class type=Windows.Graphics.Imaging.SoftwareBitmap name=bitmap
23
+ out interface type=Windows.Foundation.IAsyncAction return
24
+
25
+ interface Windows.Foundation.IAsyncAction external
26
+ py winrt.windows.foundation._IAsyncAction
27
+ guid 5a648006-843a-4da9-865b-9d26e5dfad7b
28
+
29
+ class Windows.Graphics.Imaging.SoftwareBitmap external
30
+ py winrt.windows.graphics.imaging.SoftwareBitmap
@@ -1,26 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: winrt-Windows.ApplicationModel.Preview.InkWorkspace
3
- Version: 3.2.1
4
- Summary: Python projection of Windows Runtime (WinRT) APIs
5
- License-Expression: 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.9
14
- Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime~=3.2.1.0
16
- Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
18
- Requires-Dist: winrt-Windows.Graphics.Imaging[all]~=3.2.1.0; extra == "all"
19
-
20
- <!-- warning: Please don't edit this file. It was automatically generated. -->
21
-
22
- # winrt-Windows.ApplicationModel.Preview.InkWorkspace
23
-
24
- Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Preview.InkWorkspace` namespace.
25
-
26
- This package provides the `winrt.windows.applicationmodel.preview.inkworkspace` module.
@@ -1,7 +0,0 @@
1
- <!-- warning: Please don't edit this file. It was automatically generated. -->
2
-
3
- # winrt-Windows.ApplicationModel.Preview.InkWorkspace
4
-
5
- Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Preview.InkWorkspace` namespace.
6
-
7
- This package provides the `winrt.windows.applicationmodel.preview.inkworkspace` module.
@@ -1,4 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
-
3
- winrt-Windows.Foundation[all]~=3.2.1.0
4
- winrt-Windows.Graphics.Imaging[all]~=3.2.1.0
@@ -1,246 +0,0 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
-
3
- #include "py.Windows.ApplicationModel.Preview.InkWorkspace.h"
4
-
5
- namespace py::cpp::Windows::ApplicationModel::Preview::InkWorkspace
6
- {
7
- // ----- InkWorkspaceHostedAppManager class --------------------
8
-
9
- static PyObject* _new_InkWorkspaceHostedAppManager(PyTypeObject* /*unused*/, PyObject* /*unused*/, PyObject* /*unused*/) noexcept
10
- {
11
- static_assert(py::py_type<winrt::Windows::ApplicationModel::Preview::InkWorkspace::InkWorkspaceHostedAppManager>::type_name);
12
- py::set_invalid_activation_error(py::py_type<winrt::Windows::ApplicationModel::Preview::InkWorkspace::InkWorkspaceHostedAppManager>::type_name);
13
- return nullptr;
14
- }
15
-
16
- static void _dealloc_InkWorkspaceHostedAppManager(py::wrapper::Windows::ApplicationModel::Preview::InkWorkspace::InkWorkspaceHostedAppManager* self) noexcept
17
- {
18
- auto tp = Py_TYPE(self);
19
- std::destroy_at(&self->obj);
20
- tp->tp_free(self);
21
- Py_DECREF(tp);
22
- }
23
-
24
- static PyObject* InkWorkspaceHostedAppManager_GetForCurrentApp(PyObject* /*unused*/, PyObject* args) noexcept
25
- {
26
- auto arg_count = PyTuple_GET_SIZE(args);
27
-
28
- if (arg_count == 0)
29
- {
30
- try
31
- {
32
- static std::optional<bool> is_overload_present{};
33
-
34
- if (!is_overload_present.has_value())
35
- {
36
- is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Preview.InkWorkspace.InkWorkspaceHostedAppManager", L"GetForCurrentApp", 0);
37
- }
38
-
39
- if (!is_overload_present.value())
40
- {
41
- py::set_arg_count_version_error(0);
42
- return nullptr;
43
- }
44
-
45
- return py::convert([&]()
46
- {
47
- auto _gil = release_gil();
48
- return winrt::Windows::ApplicationModel::Preview::InkWorkspace::InkWorkspaceHostedAppManager::GetForCurrentApp();
49
- }());
50
- }
51
- catch (...)
52
- {
53
- py::to_PyErr();
54
- return nullptr;
55
- }
56
- }
57
- else
58
- {
59
- py::set_invalid_arg_count_error(arg_count);
60
- return nullptr;
61
- }
62
- }
63
-
64
- static PyObject* InkWorkspaceHostedAppManager_SetThumbnailAsync(py::wrapper::Windows::ApplicationModel::Preview::InkWorkspace::InkWorkspaceHostedAppManager* self, PyObject* args) noexcept
65
- {
66
- auto arg_count = PyTuple_GET_SIZE(args);
67
-
68
- if (arg_count == 1)
69
- {
70
- try
71
- {
72
- static std::optional<bool> is_overload_present{};
73
-
74
- if (!is_overload_present.has_value())
75
- {
76
- is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Preview.InkWorkspace.InkWorkspaceHostedAppManager", L"SetThumbnailAsync", 1);
77
- }
78
-
79
- if (!is_overload_present.value())
80
- {
81
- py::set_arg_count_version_error(1);
82
- return nullptr;
83
- }
84
-
85
- auto param0 = py::convert_to<winrt::Windows::Graphics::Imaging::SoftwareBitmap>(args, 0);
86
-
87
- return py::convert([&]()
88
- {
89
- auto _gil = release_gil();
90
- return self->obj.SetThumbnailAsync(param0);
91
- }());
92
- }
93
- catch (...)
94
- {
95
- py::to_PyErr();
96
- return nullptr;
97
- }
98
- }
99
- else
100
- {
101
- py::set_invalid_arg_count_error(arg_count);
102
- return nullptr;
103
- }
104
- }
105
-
106
- static PyObject* _assign_array_InkWorkspaceHostedAppManager(PyObject* /*unused*/, PyObject* arg) noexcept
107
- {
108
- auto array = std::make_unique<py::ComArray<winrt::Windows::ApplicationModel::Preview::InkWorkspace::InkWorkspaceHostedAppManager>>();
109
- if (!py::cpp::_winrt::Array_Assign(arg, std::move(array)))
110
- {
111
- return nullptr;
112
- }
113
- Py_RETURN_NONE;
114
- }
115
-
116
- static PyObject* _from_InkWorkspaceHostedAppManager(PyObject* /*unused*/, PyObject* arg) noexcept
117
- {
118
- try
119
- {
120
- auto return_value = py::convert_to<winrt::Windows::Foundation::IInspectable>(arg);
121
- return py::convert(return_value.as<winrt::Windows::ApplicationModel::Preview::InkWorkspace::InkWorkspaceHostedAppManager>());
122
- }
123
- catch (...)
124
- {
125
- py::to_PyErr();
126
- return nullptr;
127
- }
128
- }
129
-
130
- static PyMethodDef _methods_InkWorkspaceHostedAppManager[] = {
131
- { "set_thumbnail_async", reinterpret_cast<PyCFunction>(InkWorkspaceHostedAppManager_SetThumbnailAsync), METH_VARARGS, nullptr },
132
- { "_assign_array_", _assign_array_InkWorkspaceHostedAppManager, METH_O | METH_STATIC, nullptr },
133
- { "_from", reinterpret_cast<PyCFunction>(_from_InkWorkspaceHostedAppManager), METH_O | METH_STATIC, nullptr },
134
- { }};
135
-
136
- static PyGetSetDef _getset_InkWorkspaceHostedAppManager[] = {
137
- { }};
138
-
139
- static PyType_Slot _type_slots_InkWorkspaceHostedAppManager[] = {
140
- { Py_tp_new, reinterpret_cast<void*>(_new_InkWorkspaceHostedAppManager) },
141
- { Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_InkWorkspaceHostedAppManager) },
142
- { Py_tp_methods, reinterpret_cast<void*>(_methods_InkWorkspaceHostedAppManager) },
143
- { Py_tp_getset, reinterpret_cast<void*>(_getset_InkWorkspaceHostedAppManager) },
144
- { }};
145
-
146
- static PyType_Spec type_spec_InkWorkspaceHostedAppManager = {
147
- "winrt._winrt_windows_applicationmodel_preview_inkworkspace.InkWorkspaceHostedAppManager",
148
- sizeof(py::wrapper::Windows::ApplicationModel::Preview::InkWorkspace::InkWorkspaceHostedAppManager),
149
- 0,
150
- Py_TPFLAGS_DEFAULT,
151
- _type_slots_InkWorkspaceHostedAppManager};
152
-
153
- static PyGetSetDef getset_InkWorkspaceHostedAppManager_Static[] = {
154
- { }};
155
-
156
- static PyMethodDef methods_InkWorkspaceHostedAppManager_Static[] = {
157
- { "get_for_current_app", reinterpret_cast<PyCFunction>(InkWorkspaceHostedAppManager_GetForCurrentApp), METH_VARARGS, nullptr },
158
- { }};
159
-
160
- static PyType_Slot type_slots_InkWorkspaceHostedAppManager_Static[] =
161
- {
162
- { Py_tp_base, reinterpret_cast<void*>(&PyType_Type) },
163
- { Py_tp_getset, reinterpret_cast<void*>(getset_InkWorkspaceHostedAppManager_Static) },
164
- { Py_tp_methods, reinterpret_cast<void*>(methods_InkWorkspaceHostedAppManager_Static) },
165
- { }
166
- };
167
-
168
- static PyType_Spec type_spec_InkWorkspaceHostedAppManager_Static = {
169
- "winrt._winrt_windows_applicationmodel_preview_inkworkspace.InkWorkspaceHostedAppManager_Static",
170
- static_cast<int>(PyType_Type.tp_basicsize),
171
- static_cast<int>(PyType_Type.tp_itemsize),
172
- Py_TPFLAGS_DEFAULT,
173
- type_slots_InkWorkspaceHostedAppManager_Static};
174
-
175
- // ----- Windows.ApplicationModel.Preview.InkWorkspace Initialization --------------------
176
-
177
- PyDoc_STRVAR(module_doc, "Windows.ApplicationModel.Preview.InkWorkspace");
178
-
179
- static PyModuleDef module_def = {
180
- PyModuleDef_HEAD_INIT,
181
- "_winrt_windows_applicationmodel_preview_inkworkspace",
182
- module_doc,
183
- 0,
184
- nullptr,
185
- nullptr,
186
- nullptr,
187
- nullptr,
188
- nullptr};
189
- } // py::cpp::Windows::ApplicationModel::Preview::InkWorkspace
190
-
191
- PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_preview_inkworkspace(void) noexcept
192
- {
193
- using namespace py::cpp::Windows::ApplicationModel::Preview::InkWorkspace;
194
-
195
- if (py::import_winrt_runtime() == -1)
196
- {
197
- return nullptr;
198
- }
199
-
200
- py::pyobj_handle module{PyModule_Create(&module_def)};
201
-
202
- if (!module)
203
- {
204
- return nullptr;
205
- }
206
-
207
- auto inspectable_meta_type = py::get_inspectable_meta_type();
208
- if (!inspectable_meta_type)
209
- {
210
- return nullptr;
211
- }
212
-
213
- auto object_type = py::get_object_type();
214
- if (!object_type)
215
- {
216
- return nullptr;
217
- }
218
-
219
- py::pyobj_handle object_bases{PyTuple_Pack(1, object_type)};
220
-
221
- if (!object_bases)
222
- {
223
- return nullptr;
224
- }
225
-
226
- py::pyobj_handle InkWorkspaceHostedAppManager_Static_bases{PyTuple_Pack(1, reinterpret_cast<PyObject*>(inspectable_meta_type))};
227
- if (!InkWorkspaceHostedAppManager_Static_bases)
228
- {
229
- return nullptr;
230
- }
231
-
232
- py::pyobj_handle type_InkWorkspaceHostedAppManager_Static{PyType_FromSpecWithBases(&type_spec_InkWorkspaceHostedAppManager_Static, InkWorkspaceHostedAppManager_Static_bases.get())};
233
- if (!type_InkWorkspaceHostedAppManager_Static)
234
- {
235
- return nullptr;
236
- }
237
-
238
- py::pytype_handle InkWorkspaceHostedAppManager_type{py::register_python_type(module.get(), &type_spec_InkWorkspaceHostedAppManager, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_InkWorkspaceHostedAppManager_Static.get()))};
239
- if (!InkWorkspaceHostedAppManager_type)
240
- {
241
- return nullptr;
242
- }
243
-
244
-
245
- return module.detach();
246
- }
@@ -1,47 +0,0 @@
1
- # WARNING: Please don't edit this file. It was automatically generated.
2
-
3
- [build-system]
4
- requires = ["setuptools>=78", "winrt-sdk"]
5
- build-backend = "setuptools.build_meta"
6
-
7
- [project]
8
- name = "winrt-Windows.ApplicationModel.Preview.InkWorkspace"
9
- description = "Python projection of Windows Runtime (WinRT) APIs"
10
- readme = "README.md"
11
- license = "MIT"
12
- classifiers = [
13
- "Operating System :: Microsoft :: Windows",
14
- "Programming Language :: Python :: 3",
15
- "Programming Language :: Python :: Implementation :: CPython",
16
- "Intended Audience :: Developers",
17
- ]
18
- dynamic = ["version", "dependencies", "optional-dependencies"]
19
- requires-python = ">=3.9"
20
-
21
- [project.urls]
22
- # Homepage = "https://github.com/pywinrt/pywinrt"
23
- Documentation = "https://pywinrt.readthedocs.io"
24
- Repository = "https://github.com/pywinrt/pywinrt"
25
- Changelog = "https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md"
26
-
27
- [tool.setuptools.dynamic]
28
- version = { file = "pywinrt-version.txt" }
29
- dependencies = { file = "requirements.txt" }
30
- optional-dependencies.all = { file = "all-requirements.txt" }
31
-
32
- [tool.setuptools.package-data]
33
- "*" = ["*.pyi", "py.typed"]
34
-
35
- [tool.cibuildwheel]
36
- # use local winrt-sdk build dependency
37
- environment = { PYTHONPATH="../../winrt-sdk/src" }
38
- # don't install winrt-sdk from PyPI
39
- build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
40
- before-build = "uv pip install setuptools"
41
- # don't build for PyPy
42
- skip = "pp*"
43
- # suppress warnings about ARM64 testing
44
- test-skip = "*-win_arm64"
45
-
46
- [tool.cibuildwheel.windows]
47
- archs = ["x86", "AMD64", "ARM64"]
@@ -1,3 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
-
3
- winrt-runtime~=3.2.1.0
@@ -1,4 +0,0 @@
1
- [egg_info]
2
- tag_build =
3
- tag_date = 0
4
-
@@ -1,33 +0,0 @@
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
- # GCC 15 complains about some things that it didn't in the past
15
- ext.extra_compile_args += ["-Wno-strict-aliasing", "-Wno-template-body"]
16
- ext.extra_link_args = ["-loleaut32"]
17
- else:
18
- raise ValueError(f"Unsupported compiler: {self.compiler.compiler_type}")
19
-
20
- build_ext.build_extension(self, ext)
21
-
22
-
23
- setup(
24
- cmdclass={"build_ext": build_ext_ex},
25
- ext_modules=[
26
- Extension(
27
- "winrt._winrt_windows_applicationmodel_preview_inkworkspace",
28
- sources=["py.Windows.ApplicationModel.Preview.InkWorkspace.cpp"],
29
- include_dirs=get_include_dirs(),
30
- libraries=["windowsapp"],
31
- )
32
- ],
33
- )
@@ -1,26 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: winrt-Windows.ApplicationModel.Preview.InkWorkspace
3
- Version: 3.2.1
4
- Summary: Python projection of Windows Runtime (WinRT) APIs
5
- License-Expression: 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.9
14
- Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime~=3.2.1.0
16
- Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
18
- Requires-Dist: winrt-Windows.Graphics.Imaging[all]~=3.2.1.0; extra == "all"
19
-
20
- <!-- warning: Please don't edit this file. It was automatically generated. -->
21
-
22
- # winrt-Windows.ApplicationModel.Preview.InkWorkspace
23
-
24
- Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Preview.InkWorkspace` namespace.
25
-
26
- This package provides the `winrt.windows.applicationmodel.preview.inkworkspace` module.
@@ -1,15 +0,0 @@
1
- README.md
2
- all-requirements.txt
3
- py.Windows.ApplicationModel.Preview.InkWorkspace.cpp
4
- pyproject.toml
5
- pywinrt-version.txt
6
- requirements.txt
7
- setup.py
8
- winrt/_winrt_windows_applicationmodel_preview_inkworkspace.pyi
9
- winrt/windows/applicationmodel/preview/inkworkspace/__init__.py
10
- winrt/windows/applicationmodel/preview/inkworkspace/py.typed
11
- winrt_Windows.ApplicationModel.Preview.InkWorkspace.egg-info/PKG-INFO
12
- winrt_Windows.ApplicationModel.Preview.InkWorkspace.egg-info/SOURCES.txt
13
- winrt_Windows.ApplicationModel.Preview.InkWorkspace.egg-info/dependency_links.txt
14
- winrt_Windows.ApplicationModel.Preview.InkWorkspace.egg-info/requires.txt
15
- winrt_Windows.ApplicationModel.Preview.InkWorkspace.egg-info/top_level.txt
@@ -1,5 +0,0 @@
1
- winrt-runtime~=3.2.1.0
2
-
3
- [all]
4
- winrt-Windows.Foundation[all]~=3.2.1.0
5
- winrt-Windows.Graphics.Imaging[all]~=3.2.1.0