winrt-Windows.ApplicationModel.DataTransfer.DragDrop.Core 4!10.0.28000.2705__py3-none-any.whl

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.
@@ -0,0 +1,19 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import winrt.runtime._internals
4
+ import winrt.system
5
+
6
+ winrt.runtime._internals.load_projection(__spec__)
7
+
8
+ __all__ = [
9
+ "CoreDragUIContentMode",
10
+ "CoreDragDropManager",
11
+ "CoreDragInfo",
12
+ "CoreDragOperation",
13
+ "CoreDragUIOverride",
14
+ "CoreDropOperationTargetRequestedEventArgs",
15
+ "ICoreDropOperationTarget",
16
+ ]
17
+
18
+ winrt.runtime._internals.alias_method(CoreDragOperation, "set_drag_ui_content_from_software_bitmap_with_anchor_point", "set_drag_ui_content_from_software_bitmap")
19
+ winrt.runtime._internals.alias_method(CoreDragUIOverride, "set_content_from_software_bitmap_with_anchor_point", "set_content_from_software_bitmap")
@@ -0,0 +1,160 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import enum
4
+ import typing
5
+ from builtins import property as _property
6
+ from abc import abstractmethod
7
+ from typing_extensions import deprecated
8
+
9
+ import winrt.system
10
+ import winrt.windows.applicationmodel.datatransfer as windows_applicationmodel_datatransfer
11
+ import winrt.windows.applicationmodel.datatransfer.dragdrop as windows_applicationmodel_datatransfer_dragdrop
12
+ import winrt.windows.foundation as windows_foundation
13
+ import winrt.windows.graphics.imaging as windows_graphics_imaging
14
+
15
+ __all__ = [
16
+ "CoreDragUIContentMode",
17
+ "CoreDragDropManager",
18
+ "CoreDragInfo",
19
+ "CoreDragOperation",
20
+ "CoreDragUIOverride",
21
+ "CoreDropOperationTargetRequestedEventArgs",
22
+ "ICoreDropOperationTarget",
23
+ ]
24
+
25
+ class CoreDragUIContentMode(enum.IntFlag):
26
+ AUTO = 0x0
27
+ DEFERRED = 0x1
28
+
29
+ @typing.final
30
+ class CoreDragDropManager_Static(winrt.system.Object_Static):
31
+ # Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragDropManager Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragDropManager::GetForCurrentView()
32
+ def get_for_current_view(cls) -> CoreDragDropManager: ...
33
+
34
+ @typing.final
35
+ class CoreDragDropManager(winrt.system.Object, metaclass=CoreDragDropManager_Static):
36
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
37
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
38
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragDropManager::add_TargetRequested(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragDropManager,Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDropOperationTargetRequestedEventArgs>)
39
+ def add_target_requested(self, value: windows_foundation.TypedEventHandler[CoreDragDropManager, CoreDropOperationTargetRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
40
+ # System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragDropManager::remove_TargetRequested(Windows.Foundation.EventRegistrationToken)
41
+ def remove_target_requested(self, value: windows_foundation.EventRegistrationToken, /) -> None: ...
42
+ # System.Boolean Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragDropManager::get_AreConcurrentOperationsEnabled()
43
+ @_property
44
+ def are_concurrent_operations_enabled(self) -> bool: ...
45
+ # System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragDropManager::put_AreConcurrentOperationsEnabled(System.Boolean)
46
+ @are_concurrent_operations_enabled.setter
47
+ def are_concurrent_operations_enabled(self, value: bool) -> None: ...
48
+
49
+ @typing.final
50
+ class CoreDragInfo(winrt.system.Object):
51
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
52
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
53
+ # Windows.ApplicationModel.DataTransfer.DataPackageView Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragInfo::get_Data()
54
+ @_property
55
+ def data(self) -> windows_applicationmodel_datatransfer.DataPackageView: ...
56
+ # Windows.ApplicationModel.DataTransfer.DragDrop.DragDropModifiers Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragInfo::get_Modifiers()
57
+ @_property
58
+ def modifiers(self) -> windows_applicationmodel_datatransfer_dragdrop.DragDropModifiers: ...
59
+ # Windows.Foundation.Point Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragInfo::get_Position()
60
+ @_property
61
+ def position(self) -> windows_foundation.Point: ...
62
+ # Windows.ApplicationModel.DataTransfer.DataPackageOperation Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragInfo::get_AllowedOperations()
63
+ @_property
64
+ def allowed_operations(self) -> windows_applicationmodel_datatransfer.DataPackageOperation: ...
65
+
66
+ @typing.final
67
+ class CoreDragOperation(winrt.system.Object):
68
+ def __new__(cls) -> typing.Self: ...
69
+ @typing.overload
70
+ # System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation::SetDragUIContentFromSoftwareBitmap(Windows.Graphics.Imaging.SoftwareBitmap)
71
+ def set_drag_ui_content_from_software_bitmap(self, software_bitmap: windows_graphics_imaging.SoftwareBitmap, /) -> None: ...
72
+ @typing.overload
73
+ # System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation::SetDragUIContentFromSoftwareBitmap(Windows.Graphics.Imaging.SoftwareBitmap,Windows.Foundation.Point)
74
+ def set_drag_ui_content_from_software_bitmap(self, software_bitmap: windows_graphics_imaging.SoftwareBitmap, anchor_point: windows_foundation.Point | tuple[winrt.system.Single, winrt.system.Single], /) -> None: ...
75
+ # Deprecated alias of set_drag_ui_content_from_software_bitmap() for pywinrt v3.x compatibility.
76
+ # System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation::SetDragUIContentFromSoftwareBitmap(Windows.Graphics.Imaging.SoftwareBitmap,Windows.Foundation.Point)
77
+ @deprecated("Use set_drag_ui_content_from_software_bitmap() instead.")
78
+ def set_drag_ui_content_from_software_bitmap_with_anchor_point(self, software_bitmap: windows_graphics_imaging.SoftwareBitmap, anchor_point: windows_foundation.Point | tuple[winrt.system.Single, winrt.system.Single], /) -> None: ...
79
+ # System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation::SetPointerId(System.UInt32)
80
+ def set_pointer_id(self, pointer_id: winrt.system.UInt32 | typing.SupportsIndex, /) -> None: ...
81
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.DataTransfer.DataPackageOperation> Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation::StartAsync()
82
+ def start_async(self) -> windows_foundation.IAsyncOperation[windows_applicationmodel_datatransfer.DataPackageOperation]: ...
83
+ # Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIContentMode Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation::get_DragUIContentMode()
84
+ @_property
85
+ def drag_ui_content_mode(self) -> CoreDragUIContentMode: ...
86
+ # System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation::put_DragUIContentMode(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIContentMode)
87
+ @drag_ui_content_mode.setter
88
+ def drag_ui_content_mode(self, value: CoreDragUIContentMode) -> None: ...
89
+ # Windows.ApplicationModel.DataTransfer.DataPackage Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation::get_Data()
90
+ @_property
91
+ def data(self) -> windows_applicationmodel_datatransfer.DataPackage: ...
92
+ # Windows.ApplicationModel.DataTransfer.DataPackageOperation Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation::get_AllowedOperations()
93
+ @_property
94
+ def allowed_operations(self) -> windows_applicationmodel_datatransfer.DataPackageOperation: ...
95
+ # System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation::put_AllowedOperations(Windows.ApplicationModel.DataTransfer.DataPackageOperation)
96
+ @allowed_operations.setter
97
+ def allowed_operations(self, value: windows_applicationmodel_datatransfer.DataPackageOperation) -> None: ...
98
+
99
+ @typing.final
100
+ class CoreDragUIOverride(winrt.system.Object):
101
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
102
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
103
+ # System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::Clear()
104
+ def clear(self) -> None: ...
105
+ @typing.overload
106
+ # System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::SetContentFromSoftwareBitmap(Windows.Graphics.Imaging.SoftwareBitmap)
107
+ def set_content_from_software_bitmap(self, software_bitmap: windows_graphics_imaging.SoftwareBitmap, /) -> None: ...
108
+ @typing.overload
109
+ # System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::SetContentFromSoftwareBitmap(Windows.Graphics.Imaging.SoftwareBitmap,Windows.Foundation.Point)
110
+ def set_content_from_software_bitmap(self, software_bitmap: windows_graphics_imaging.SoftwareBitmap, anchor_point: windows_foundation.Point | tuple[winrt.system.Single, winrt.system.Single], /) -> None: ...
111
+ # Deprecated alias of set_content_from_software_bitmap() for pywinrt v3.x compatibility.
112
+ # System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::SetContentFromSoftwareBitmap(Windows.Graphics.Imaging.SoftwareBitmap,Windows.Foundation.Point)
113
+ @deprecated("Use set_content_from_software_bitmap() instead.")
114
+ def set_content_from_software_bitmap_with_anchor_point(self, software_bitmap: windows_graphics_imaging.SoftwareBitmap, anchor_point: windows_foundation.Point | tuple[winrt.system.Single, winrt.system.Single], /) -> None: ...
115
+ # System.Boolean Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::get_IsGlyphVisible()
116
+ @_property
117
+ def is_glyph_visible(self) -> bool: ...
118
+ # System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::put_IsGlyphVisible(System.Boolean)
119
+ @is_glyph_visible.setter
120
+ def is_glyph_visible(self, value: bool) -> None: ...
121
+ # System.Boolean Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::get_IsContentVisible()
122
+ @_property
123
+ def is_content_visible(self) -> bool: ...
124
+ # System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::put_IsContentVisible(System.Boolean)
125
+ @is_content_visible.setter
126
+ def is_content_visible(self, value: bool) -> None: ...
127
+ # System.Boolean Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::get_IsCaptionVisible()
128
+ @_property
129
+ def is_caption_visible(self) -> bool: ...
130
+ # System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::put_IsCaptionVisible(System.Boolean)
131
+ @is_caption_visible.setter
132
+ def is_caption_visible(self, value: bool) -> None: ...
133
+ # System.String Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::get_Caption()
134
+ @_property
135
+ def caption(self) -> str: ...
136
+ # System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::put_Caption(System.String)
137
+ @caption.setter
138
+ def caption(self, value: str) -> None: ...
139
+
140
+ @typing.final
141
+ class CoreDropOperationTargetRequestedEventArgs(winrt.system.Object):
142
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
143
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
144
+ # System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDropOperationTargetRequestedEventArgs::SetTarget(Windows.ApplicationModel.DataTransfer.DragDrop.Core.ICoreDropOperationTarget)
145
+ def set_target(self, target: ICoreDropOperationTarget, /) -> None: ...
146
+
147
+ class ICoreDropOperationTarget(winrt.system.Object):
148
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.DataTransfer.DataPackageOperation> Windows.ApplicationModel.DataTransfer.DragDrop.Core.ICoreDropOperationTarget::DropAsync(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragInfo)
149
+ @abstractmethod
150
+ def drop_async(self, drag_info: CoreDragInfo, /) -> windows_foundation.IAsyncOperation[windows_applicationmodel_datatransfer.DataPackageOperation]: ...
151
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.DataTransfer.DataPackageOperation> Windows.ApplicationModel.DataTransfer.DragDrop.Core.ICoreDropOperationTarget::EnterAsync(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragInfo,Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride)
152
+ @abstractmethod
153
+ def enter_async(self, drag_info: CoreDragInfo, drag_ui_override: CoreDragUIOverride, /) -> windows_foundation.IAsyncOperation[windows_applicationmodel_datatransfer.DataPackageOperation]: ...
154
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.DataTransfer.DragDrop.Core.ICoreDropOperationTarget::LeaveAsync(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragInfo)
155
+ @abstractmethod
156
+ def leave_async(self, drag_info: CoreDragInfo, /) -> windows_foundation.IAsyncAction: ...
157
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.DataTransfer.DataPackageOperation> Windows.ApplicationModel.DataTransfer.DragDrop.Core.ICoreDropOperationTarget::OverAsync(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragInfo,Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride)
158
+ @abstractmethod
159
+ def over_async(self, drag_info: CoreDragInfo, drag_ui_override: CoreDragUIOverride, /) -> windows_foundation.IAsyncOperation[windows_applicationmodel_datatransfer.DataPackageOperation]: ...
160
+
@@ -0,0 +1,47 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.ApplicationModel.DataTransfer.DragDrop.Core
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.ApplicationModel.DataTransfer.DragDrop.Core 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-applicationmodel-datatransfer-dragdrop[all]>=4!10.0.28000.2705; extra == 'all'
26
+ Requires-Dist: winrt-windows-applicationmodel-datatransfer[all]>=4!10.0.28000.2705; extra == 'all'
27
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-graphics-imaging[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Description-Content-Type: text/markdown
30
+
31
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
32
+
33
+ # winrt-Windows.ApplicationModel.DataTransfer.DragDrop.Core
34
+
35
+ Windows Runtime (WinRT) APIs for the `Windows.ApplicationModel.DataTransfer.DragDrop.Core` namespace.
36
+
37
+ This package provides the `winrt.windows.applicationmodel.datatransfer.dragdrop.core` module.
38
+
39
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
40
+ `Microsoft.Windows.SDK.CPP` NuGet package.
41
+
42
+ ```
43
+ pip install winrt-Windows.ApplicationModel.DataTransfer.DragDrop.Core
44
+ ```
45
+
46
+ Other WinRT namespaces are packages of their own, so install the package of
47
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/applicationmodel/datatransfer/dragdrop/core/__init__.py,sha256=2NPY3njDJ6Ko1cVkWyHH9FVFI5-uyfOtvGE97aW5GLo,713
2
+ winrt/windows/applicationmodel/datatransfer/dragdrop/core/__init__.pyi,sha256=XgL8K2rCEyHZlxXYkAw2Lz6wXWiKhfC7MGNOUFS1Bek,12835
3
+ winrt/windows/applicationmodel/datatransfer/dragdrop/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/applicationmodel/datatransfer/dragdrop/core/_table.pywinrt,sha256=CBHcNEkOU5jO5OI8-1oxsEWdDG8Q_vMhPM6mBSXoRGM,10936
5
+ winrt_windows_applicationmodel_datatransfer_dragdrop_core-4!10.0.28000.2705.dist-info/METADATA,sha256=bgsnE-HWPQFVipDqwJlNLpCiZK3D928MKxGKgwzCGbM,2245
6
+ winrt_windows_applicationmodel_datatransfer_dragdrop_core-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_applicationmodel_datatransfer_dragdrop_core-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_applicationmodel_datatransfer_dragdrop_core-4!10.0.28000.2705.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -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