These events are generated by wWindow during a drag-and-drop operation.
Events: | wDragDropEvent | Description |
wEvent_DragEnter | When the mouse enters the drop target. |
wEvent_DragOver | When the mouse is being dragged over the drop target. |
wEvent_DragLeave | When the mouse leaves the drop target. |
wEvent_Drop | When the user drops a data object on the target. |
|
method getDataObject(self: wDragDropEvent): wDataObject {...}{.inline, raises: [], tags: [].}
-
Returns the wDataObject object associated with the drop target.
method getEffect(self: wDragDropEvent): int {...}{.inline, raises: [], tags: [].}
-
Returns the effect for drag and drop. effect should be one of wDragNone, wDragCopy, wDragMove or wDragLink.
method setEffect(self: wDragDropEvent; effect: int) {...}{.inline, raises: [], tags: [].}
-
Sets the effect for drag and drop. effect should be one of wDragNone, wDragCopy, wDragMove or wDragLink.