DraggingInfo
Information about a dragging session.
| Type | Object |
This class can not be created by user, its instance can only be received in the drag and drop events.
Class properties
Integer dragOperationNone
No drag operation.
Integer dragOperationCopy
Drag operation for Copy.
Integer dragOperationMove
Drag operation for Move.
Methods
isDataAvailable(type)
Return whether the data of type is available.
On Linux the dragged data is only available in the handle_drop delegate.
Parameters
Return
BooleangetData(type)
Get the data of type from clipboard.
On Linux the dragged data is only available in the handle_drop delegate.
You should always check the type of returned data before using it.
Parameters
Return
Clipboard::DatagetDragOperations()
Return the drag operation supported by drag source.
Most drag sources support multiple types of operations, you should always check whether an operation is supported by using bitwise AND operator.
Return
Integer