DraggingInfo

Information about a dragging session.

Typetable

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

boolean

getdata(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::Data

getdragoperations()

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