winrt-Windows.ApplicationModel.DataTransfer.DragDrop 2.0.0b1__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.ApplicationModel.DataTransfer.DragDrop-2.0.0b1/PKG-INFO +21 -0
- winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b1/README.md +7 -0
- winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b1/py.Windows.ApplicationModel.DataTransfer.DragDrop.cpp +56 -0
- winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b1/pyproject.toml +42 -0
- winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b1/pywinrt-version.txt +1 -0
- winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b1/requirements.txt +3 -0
- winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b1/setup.cfg +4 -0
- winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b1/setup.py +17 -0
- winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b1/winrt/_winrt_windows_applicationmodel_datatransfer_dragdrop.pyi +16 -0
- winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b1/winrt/windows/applicationmodel/datatransfer/dragdrop/__init__.py +20 -0
- winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b1/winrt_Windows.ApplicationModel.DataTransfer.DragDrop.egg-info/PKG-INFO +21 -0
- winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b1/winrt_Windows.ApplicationModel.DataTransfer.DragDrop.egg-info/SOURCES.txt +13 -0
- winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b1/winrt_Windows.ApplicationModel.DataTransfer.DragDrop.egg-info/dependency_links.txt +1 -0
- winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b1/winrt_Windows.ApplicationModel.DataTransfer.DragDrop.egg-info/requires.txt +1 -0
- winrt-Windows.ApplicationModel.DataTransfer.DragDrop-2.0.0b1/winrt_Windows.ApplicationModel.DataTransfer.DragDrop.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.DataTransfer.DragDrop
|
|
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
|
+
|
|
15
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
16
|
+
|
|
17
|
+
# winrt-Windows.ApplicationModel.DataTransfer.DragDrop
|
|
18
|
+
|
|
19
|
+
Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.DataTransfer.DragDrop` namespace.
|
|
20
|
+
|
|
21
|
+
This package provides the `winrt.windows.applicationmodel.datatransfer.dragdrop` module.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
2
|
+
|
|
3
|
+
# winrt-Windows.ApplicationModel.DataTransfer.DragDrop
|
|
4
|
+
|
|
5
|
+
Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.DataTransfer.DragDrop` namespace.
|
|
6
|
+
|
|
7
|
+
This package provides the `winrt.windows.applicationmodel.datatransfer.dragdrop` module.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
|
|
2
|
+
|
|
3
|
+
#include "py.Windows.ApplicationModel.DataTransfer.DragDrop.h"
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
namespace py::cpp::Windows::ApplicationModel::DataTransfer::DragDrop
|
|
7
|
+
{
|
|
8
|
+
// ----- Windows.ApplicationModel.DataTransfer.DragDrop Initialization --------------------
|
|
9
|
+
PyDoc_STRVAR(module_doc, "Windows::ApplicationModel::DataTransfer::DragDrop");
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
static PyModuleDef module_def
|
|
13
|
+
= {PyModuleDef_HEAD_INIT,
|
|
14
|
+
"_winrt_windows_applicationmodel_datatransfer_dragdrop",
|
|
15
|
+
module_doc,
|
|
16
|
+
0,
|
|
17
|
+
nullptr,
|
|
18
|
+
nullptr,
|
|
19
|
+
nullptr,
|
|
20
|
+
nullptr,
|
|
21
|
+
nullptr};
|
|
22
|
+
|
|
23
|
+
} // py::cpp::Windows::ApplicationModel::DataTransfer::DragDrop
|
|
24
|
+
|
|
25
|
+
PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_datatransfer_dragdrop(void) noexcept
|
|
26
|
+
{
|
|
27
|
+
using namespace py::cpp::Windows::ApplicationModel::DataTransfer::DragDrop;
|
|
28
|
+
|
|
29
|
+
if (py::import_winrt_runtime() == -1)
|
|
30
|
+
{
|
|
31
|
+
return nullptr;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
py::pyobj_handle module{PyModule_Create(&module_def)};
|
|
35
|
+
|
|
36
|
+
if (!module)
|
|
37
|
+
{
|
|
38
|
+
return nullptr;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
auto object_type = py::get_object_type();
|
|
42
|
+
if (!object_type)
|
|
43
|
+
{
|
|
44
|
+
return nullptr;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
py::pyobj_handle object_bases{PyTuple_Pack(1, object_type)};
|
|
48
|
+
|
|
49
|
+
if (!object_bases)
|
|
50
|
+
{
|
|
51
|
+
return nullptr;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
return module.detach();
|
|
56
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
+
|
|
3
|
+
[build-system]
|
|
4
|
+
requires = ["setuptools", "setuptools-scm", "winrt-sdk"]
|
|
5
|
+
build-backend = "setuptools.build_meta"
|
|
6
|
+
|
|
7
|
+
[project]
|
|
8
|
+
name = "winrt-Windows.ApplicationModel.DataTransfer.DragDrop"
|
|
9
|
+
description = "Python projection of Windows Runtime (WinRT) APIs"
|
|
10
|
+
readme = "README.md"
|
|
11
|
+
license = { text = "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"]
|
|
19
|
+
requires-python = ">=3.9,<3.13"
|
|
20
|
+
|
|
21
|
+
[project.urls]
|
|
22
|
+
# Homepage = "https://github.com/pywrint/pywrinrt"
|
|
23
|
+
# Documentation = "https://readthedocs.org"
|
|
24
|
+
Repository = "https://github.com/pywrint/pywrinrt"
|
|
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
|
+
|
|
31
|
+
[tool.cibuildwheel]
|
|
32
|
+
# use local winrt-sdk build dependency
|
|
33
|
+
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
34
|
+
# don't install winrt-sdk from PyPI
|
|
35
|
+
build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
36
|
+
# don't build for PyPy
|
|
37
|
+
skip = "pp*"
|
|
38
|
+
# suppress warnings about ARM64 testing
|
|
39
|
+
test-skip = "*-win_arm64"
|
|
40
|
+
|
|
41
|
+
[tool.cibuildwheel.windows]
|
|
42
|
+
archs = ["x86", "AMD64", "ARM64"]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.0.0-beta.1
|
|
@@ -0,0 +1,17 @@
|
|
|
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_applicationmodel_datatransfer_dragdrop",
|
|
10
|
+
sources=["py.Windows.ApplicationModel.DataTransfer.DragDrop.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
|
+
)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
|
|
13
|
+
from winrt.windows.applicationmodel.datatransfer.dragdrop import DragDropModifiers
|
|
14
|
+
|
|
15
|
+
Self = typing.TypeVar('Self')
|
|
16
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt import _winrt_windows_applicationmodel_datatransfer_dragdrop
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"DragDropModifiers",
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
class DragDropModifiers(enum.IntFlag):
|
|
13
|
+
NONE = 0
|
|
14
|
+
SHIFT = 0x1
|
|
15
|
+
CONTROL = 0x2
|
|
16
|
+
ALT = 0x4
|
|
17
|
+
LEFT_BUTTON = 0x8
|
|
18
|
+
MIDDLE_BUTTON = 0x10
|
|
19
|
+
RIGHT_BUTTON = 0x20
|
|
20
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.DataTransfer.DragDrop
|
|
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
|
+
|
|
15
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
16
|
+
|
|
17
|
+
# winrt-Windows.ApplicationModel.DataTransfer.DragDrop
|
|
18
|
+
|
|
19
|
+
Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.DataTransfer.DragDrop` namespace.
|
|
20
|
+
|
|
21
|
+
This package provides the `winrt.windows.applicationmodel.datatransfer.dragdrop` module.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
README.md
|
|
2
|
+
py.Windows.ApplicationModel.DataTransfer.DragDrop.cpp
|
|
3
|
+
pyproject.toml
|
|
4
|
+
pywinrt-version.txt
|
|
5
|
+
requirements.txt
|
|
6
|
+
setup.py
|
|
7
|
+
winrt/_winrt_windows_applicationmodel_datatransfer_dragdrop.pyi
|
|
8
|
+
winrt/windows/applicationmodel/datatransfer/dragdrop/__init__.py
|
|
9
|
+
winrt_Windows.ApplicationModel.DataTransfer.DragDrop.egg-info/PKG-INFO
|
|
10
|
+
winrt_Windows.ApplicationModel.DataTransfer.DragDrop.egg-info/SOURCES.txt
|
|
11
|
+
winrt_Windows.ApplicationModel.DataTransfer.DragDrop.egg-info/dependency_links.txt
|
|
12
|
+
winrt_Windows.ApplicationModel.DataTransfer.DragDrop.egg-info/requires.txt
|
|
13
|
+
winrt_Windows.ApplicationModel.DataTransfer.DragDrop.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt-runtime==2.0.0-beta.1
|