Gambas Documentation - /comp/gb.qt4/drag

/comp/gb.qt4/drag

# Drag (gb.qt4)

This static class is used for managing drag & drop processes.

This class is static.
This class can be used as a
Starts a drag & drop operation.
static function
.

Static properties | Static methods | Constants
--- | --- | ---

Returns the action associated with a drop.
Action
Returns the data that was dropped.
Data
Returns the format of the dropped data, as a MIME type.
Format
Returns the different formats used for storing the dragged data as a string array of mime types.
Formats
Returns or sets the icon used during the drag & drop operation.
Icon
Returns or sets the icon hotspot X coordinate.
IconX
Returns or sets the icon hotspot Y coordinate.
IconY
Returns if a drag & drop operation is pending.
Pending
Returns the source of the drag & drop operation.
Source
Returns the type of the dropped data.
Type
Returns the relative horizontal mouse coordinate of a drop event.
X
Returns the relative vertical mouse coordinate of a drop event.
Y

Hides the drop frame displayed by the Show method.
Hide
Returns the dropped data by using the specified format.
Paste
Displays a frame inside a control to indicate that it accepts drop.
Show

Constant used by the Action property to indicate that a drag & drop operation is a copy.
Copy
Constant used by the Type property for indicating that the dropped data is an Image.
Image
Constant used by the Action property to indicate that a drag & drop operation is a link.
Link
Constant used by the Action property to indicate that a drag & drop operation is a move.
Move
Constant used by the Type property for indicating that the type of the dropped data is unknown.
None
Constant used by the Type property for indicating that the dropped data is some text.
Text