winrt-Windows.ApplicationModel.DataTransfer.DragDrop.Core 3.2.1__cp314-cp314-win32.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.
- winrt/_winrt_windows_applicationmodel_datatransfer_dragdrop_core.cp314-win32.pyd +0 -0
- winrt/_winrt_windows_applicationmodel_datatransfer_dragdrop_core.pyi +136 -0
- winrt/windows/applicationmodel/datatransfer/dragdrop/core/__init__.py +29 -0
- winrt/windows/applicationmodel/datatransfer/dragdrop/core/py.typed +0 -0
- winrt_windows_applicationmodel_datatransfer_dragdrop_core-3.2.1.dist-info/METADATA +28 -0
- winrt_windows_applicationmodel_datatransfer_dragdrop_core-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_applicationmodel_datatransfer_dragdrop_core-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_applicationmodel_datatransfer_dragdrop_core-3.2.1.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.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
|
+
from abc import abstractmethod
|
|
10
|
+
|
|
11
|
+
import winrt._winrt
|
|
12
|
+
import winrt.system
|
|
13
|
+
import winrt.windows.applicationmodel.datatransfer as windows_applicationmodel_datatransfer
|
|
14
|
+
import winrt.windows.applicationmodel.datatransfer.dragdrop as windows_applicationmodel_datatransfer_dragdrop
|
|
15
|
+
import winrt.windows.foundation as windows_foundation
|
|
16
|
+
import winrt.windows.graphics.imaging as windows_graphics_imaging
|
|
17
|
+
|
|
18
|
+
from winrt.windows.applicationmodel.datatransfer.dragdrop.core import CoreDragUIContentMode
|
|
19
|
+
|
|
20
|
+
Self = typing.TypeVar('Self')
|
|
21
|
+
|
|
22
|
+
@typing.final
|
|
23
|
+
class CoreDragDropManager_Static(winrt._winrt.IInspectable_Static):
|
|
24
|
+
# Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragDropManager Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragDropManager::GetForCurrentView()
|
|
25
|
+
def get_for_current_view(cls) -> CoreDragDropManager: ...
|
|
26
|
+
|
|
27
|
+
@typing.final
|
|
28
|
+
class CoreDragDropManager(winrt.system.Object, metaclass=CoreDragDropManager_Static):
|
|
29
|
+
# 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>)
|
|
30
|
+
def add_target_requested(self, value: windows_foundation.TypedEventHandler[CoreDragDropManager, CoreDropOperationTargetRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
31
|
+
# System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragDropManager::remove_TargetRequested(Windows.Foundation.EventRegistrationToken)
|
|
32
|
+
def remove_target_requested(self, value: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
33
|
+
# System.Boolean Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragDropManager::get_AreConcurrentOperationsEnabled()
|
|
34
|
+
@_property
|
|
35
|
+
def are_concurrent_operations_enabled(self) -> bool: ...
|
|
36
|
+
# System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragDropManager::put_AreConcurrentOperationsEnabled(System.Boolean)
|
|
37
|
+
@are_concurrent_operations_enabled.setter
|
|
38
|
+
def are_concurrent_operations_enabled(self, value: bool) -> None: ...
|
|
39
|
+
|
|
40
|
+
@typing.final
|
|
41
|
+
class CoreDragInfo(winrt.system.Object):
|
|
42
|
+
# Windows.ApplicationModel.DataTransfer.DataPackageView Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragInfo::get_Data()
|
|
43
|
+
@_property
|
|
44
|
+
def data(self) -> windows_applicationmodel_datatransfer.DataPackageView: ...
|
|
45
|
+
# Windows.ApplicationModel.DataTransfer.DragDrop.DragDropModifiers Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragInfo::get_Modifiers()
|
|
46
|
+
@_property
|
|
47
|
+
def modifiers(self) -> windows_applicationmodel_datatransfer_dragdrop.DragDropModifiers: ...
|
|
48
|
+
# Windows.Foundation.Point Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragInfo::get_Position()
|
|
49
|
+
@_property
|
|
50
|
+
def position(self) -> windows_foundation.Point: ...
|
|
51
|
+
# Windows.ApplicationModel.DataTransfer.DataPackageOperation Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragInfo::get_AllowedOperations()
|
|
52
|
+
@_property
|
|
53
|
+
def allowed_operations(self) -> windows_applicationmodel_datatransfer.DataPackageOperation: ...
|
|
54
|
+
|
|
55
|
+
@typing.final
|
|
56
|
+
class CoreDragOperation(winrt.system.Object):
|
|
57
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
58
|
+
# System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation::SetDragUIContentFromSoftwareBitmap(Windows.Graphics.Imaging.SoftwareBitmap)
|
|
59
|
+
def set_drag_ui_content_from_software_bitmap(self, software_bitmap: windows_graphics_imaging.SoftwareBitmap, /) -> None: ...
|
|
60
|
+
# System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation::SetDragUIContentFromSoftwareBitmap(Windows.Graphics.Imaging.SoftwareBitmap,Windows.Foundation.Point)
|
|
61
|
+
def set_drag_ui_content_from_software_bitmap_with_anchor_point(self, software_bitmap: windows_graphics_imaging.SoftwareBitmap, anchor_point: typing.Union[windows_foundation.Point, typing.Tuple[winrt.system.Single, winrt.system.Single]], /) -> None: ...
|
|
62
|
+
# System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation::SetPointerId(System.UInt32)
|
|
63
|
+
def set_pointer_id(self, pointer_id: winrt.system.UInt32, /) -> None: ...
|
|
64
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.DataTransfer.DataPackageOperation> Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation::StartAsync()
|
|
65
|
+
def start_async(self) -> windows_foundation.IAsyncOperation[windows_applicationmodel_datatransfer.DataPackageOperation]: ...
|
|
66
|
+
# Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIContentMode Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation::get_DragUIContentMode()
|
|
67
|
+
@_property
|
|
68
|
+
def drag_ui_content_mode(self) -> CoreDragUIContentMode: ...
|
|
69
|
+
# System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation::put_DragUIContentMode(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIContentMode)
|
|
70
|
+
@drag_ui_content_mode.setter
|
|
71
|
+
def drag_ui_content_mode(self, value: CoreDragUIContentMode) -> None: ...
|
|
72
|
+
# Windows.ApplicationModel.DataTransfer.DataPackage Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation::get_Data()
|
|
73
|
+
@_property
|
|
74
|
+
def data(self) -> windows_applicationmodel_datatransfer.DataPackage: ...
|
|
75
|
+
# Windows.ApplicationModel.DataTransfer.DataPackageOperation Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation::get_AllowedOperations()
|
|
76
|
+
@_property
|
|
77
|
+
def allowed_operations(self) -> windows_applicationmodel_datatransfer.DataPackageOperation: ...
|
|
78
|
+
# System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragOperation::put_AllowedOperations(Windows.ApplicationModel.DataTransfer.DataPackageOperation)
|
|
79
|
+
@allowed_operations.setter
|
|
80
|
+
def allowed_operations(self, value: windows_applicationmodel_datatransfer.DataPackageOperation) -> None: ...
|
|
81
|
+
|
|
82
|
+
@typing.final
|
|
83
|
+
class CoreDragUIOverride(winrt.system.Object):
|
|
84
|
+
# System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::Clear()
|
|
85
|
+
def clear(self) -> None: ...
|
|
86
|
+
# System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::SetContentFromSoftwareBitmap(Windows.Graphics.Imaging.SoftwareBitmap)
|
|
87
|
+
def set_content_from_software_bitmap(self, software_bitmap: windows_graphics_imaging.SoftwareBitmap, /) -> None: ...
|
|
88
|
+
# System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::SetContentFromSoftwareBitmap(Windows.Graphics.Imaging.SoftwareBitmap,Windows.Foundation.Point)
|
|
89
|
+
def set_content_from_software_bitmap_with_anchor_point(self, software_bitmap: windows_graphics_imaging.SoftwareBitmap, anchor_point: typing.Union[windows_foundation.Point, typing.Tuple[winrt.system.Single, winrt.system.Single]], /) -> None: ...
|
|
90
|
+
# System.Boolean Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::get_IsGlyphVisible()
|
|
91
|
+
@_property
|
|
92
|
+
def is_glyph_visible(self) -> bool: ...
|
|
93
|
+
# System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::put_IsGlyphVisible(System.Boolean)
|
|
94
|
+
@is_glyph_visible.setter
|
|
95
|
+
def is_glyph_visible(self, value: bool) -> None: ...
|
|
96
|
+
# System.Boolean Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::get_IsContentVisible()
|
|
97
|
+
@_property
|
|
98
|
+
def is_content_visible(self) -> bool: ...
|
|
99
|
+
# System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::put_IsContentVisible(System.Boolean)
|
|
100
|
+
@is_content_visible.setter
|
|
101
|
+
def is_content_visible(self, value: bool) -> None: ...
|
|
102
|
+
# System.Boolean Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::get_IsCaptionVisible()
|
|
103
|
+
@_property
|
|
104
|
+
def is_caption_visible(self) -> bool: ...
|
|
105
|
+
# System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::put_IsCaptionVisible(System.Boolean)
|
|
106
|
+
@is_caption_visible.setter
|
|
107
|
+
def is_caption_visible(self, value: bool) -> None: ...
|
|
108
|
+
# System.String Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::get_Caption()
|
|
109
|
+
@_property
|
|
110
|
+
def caption(self) -> str: ...
|
|
111
|
+
# System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragUIOverride::put_Caption(System.String)
|
|
112
|
+
@caption.setter
|
|
113
|
+
def caption(self, value: str) -> None: ...
|
|
114
|
+
|
|
115
|
+
@typing.final
|
|
116
|
+
class CoreDropOperationTargetRequestedEventArgs(winrt.system.Object):
|
|
117
|
+
# System.Void Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDropOperationTargetRequestedEventArgs::SetTarget(Windows.ApplicationModel.DataTransfer.DragDrop.Core.ICoreDropOperationTarget)
|
|
118
|
+
def set_target(self, target: ICoreDropOperationTarget, /) -> None: ...
|
|
119
|
+
|
|
120
|
+
@typing.final
|
|
121
|
+
class _ICoreDropOperationTarget: ...
|
|
122
|
+
|
|
123
|
+
class ICoreDropOperationTarget(winrt._winrt.IInspectable):
|
|
124
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.DataTransfer.DataPackageOperation> Windows.ApplicationModel.DataTransfer.DragDrop.Core.ICoreDropOperationTarget::DropAsync(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragInfo)
|
|
125
|
+
@abstractmethod
|
|
126
|
+
def drop_async(self, drag_info: CoreDragInfo, /) -> windows_foundation.IAsyncOperation[windows_applicationmodel_datatransfer.DataPackageOperation]: ...
|
|
127
|
+
# 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)
|
|
128
|
+
@abstractmethod
|
|
129
|
+
def enter_async(self, drag_info: CoreDragInfo, drag_ui_override: CoreDragUIOverride, /) -> windows_foundation.IAsyncOperation[windows_applicationmodel_datatransfer.DataPackageOperation]: ...
|
|
130
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.DataTransfer.DragDrop.Core.ICoreDropOperationTarget::LeaveAsync(Windows.ApplicationModel.DataTransfer.DragDrop.Core.CoreDragInfo)
|
|
131
|
+
@abstractmethod
|
|
132
|
+
def leave_async(self, drag_info: CoreDragInfo, /) -> windows_foundation.IAsyncAction: ...
|
|
133
|
+
# 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)
|
|
134
|
+
@abstractmethod
|
|
135
|
+
def over_async(self, drag_info: CoreDragInfo, drag_ui_override: CoreDragUIOverride, /) -> windows_foundation.IAsyncOperation[windows_applicationmodel_datatransfer.DataPackageOperation]: ...
|
|
136
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt._winrt_windows_applicationmodel_datatransfer_dragdrop_core import (
|
|
7
|
+
CoreDragDropManager,
|
|
8
|
+
CoreDragInfo,
|
|
9
|
+
CoreDragOperation,
|
|
10
|
+
CoreDragUIOverride,
|
|
11
|
+
CoreDropOperationTargetRequestedEventArgs,
|
|
12
|
+
_ICoreDropOperationTarget,
|
|
13
|
+
ICoreDropOperationTarget,
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
__all__ = [
|
|
17
|
+
"CoreDragUIContentMode",
|
|
18
|
+
"CoreDragDropManager",
|
|
19
|
+
"CoreDragInfo",
|
|
20
|
+
"CoreDragOperation",
|
|
21
|
+
"CoreDragUIOverride",
|
|
22
|
+
"CoreDropOperationTargetRequestedEventArgs",
|
|
23
|
+
"ICoreDropOperationTarget",
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
class CoreDragUIContentMode(enum.IntFlag):
|
|
27
|
+
AUTO = 0x0
|
|
28
|
+
DEFERRED = 0x1
|
|
29
|
+
|
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.DataTransfer.DragDrop.Core
|
|
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.ApplicationModel.DataTransfer[all]~=3.2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.ApplicationModel.DataTransfer.DragDrop[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Graphics.Imaging[all]~=3.2.1.0; extra == "all"
|
|
21
|
+
|
|
22
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
|
+
|
|
24
|
+
# winrt-Windows.ApplicationModel.DataTransfer.DragDrop.Core
|
|
25
|
+
|
|
26
|
+
Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.DataTransfer.DragDrop.Core` namespace.
|
|
27
|
+
|
|
28
|
+
This package provides the `winrt.windows.applicationmodel.datatransfer.dragdrop.core` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_applicationmodel_datatransfer_dragdrop_core.cp314-win32.pyd,sha256=SXIXF8OJL6LMEY7-iDMF3jGBVSIXOiLa9KQ1tYNmT44,115200
|
|
2
|
+
winrt/_winrt_windows_applicationmodel_datatransfer_dragdrop_core.pyi,sha256=TXAEXoXt1op_nbGk_PGQg3e3lsHGViuoKEA-jZeOM84,10921
|
|
3
|
+
winrt/windows/applicationmodel/datatransfer/dragdrop/core/__init__.py,sha256=KNCsq197KU1taLitww-FlyzsbegsZbfEX9Ft7MbI_qg,695
|
|
4
|
+
winrt/windows/applicationmodel/datatransfer/dragdrop/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_applicationmodel_datatransfer_dragdrop_core-3.2.1.dist-info/METADATA,sha256=VtugPhU9_p0rRASOHpQQ1F1OyGjREvrZCw9o505sPXg,1427
|
|
6
|
+
winrt_windows_applicationmodel_datatransfer_dragdrop_core-3.2.1.dist-info/WHEEL,sha256=avp3B09fSRXVHn4cshTNKc58MtFVN-cVe0NyrqeYT2s,97
|
|
7
|
+
winrt_windows_applicationmodel_datatransfer_dragdrop_core-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_applicationmodel_datatransfer_dragdrop_core-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|