|
Drag[en]gine Script Module DragonScript 1.32.1
|
Interface for a drag and drop operation. More...
Public Member Functions | |
| void | dropDone (bool success) |
| Drop has been processed. | |
| DNDTypeList | getDataTypes () |
| List of supported data types by the drag source. | |
| Object | getDragDataAs (String type) |
| Drag data in a specific format or null if not supported. | |
| Widget | getDragSource () |
| Drag source. | |
| void | setCanDrop (bool canDrop) |
| Set if dropping is possible at the current location. | |
| bool | supportsDataType (String type) |
| Drag source supports a type. | |
Interface for a drag and drop operation.
| void Dragengine.Gui.DragAndDrop.dropDone | ( | bool | success | ) |
Drop has been processed.
The drag and drop operation is finished after this call.
Implemented in Dragengine.Gui.DefaultDragAndDrop.
| DNDTypeList Dragengine.Gui.DragAndDrop.getDataTypes | ( | ) |
List of supported data types by the drag source.
Implemented in Dragengine.Gui.DefaultDragAndDrop.
| Object Dragengine.Gui.DragAndDrop.getDragDataAs | ( | String | type | ) |
Drag data in a specific format or null if not supported.
Implemented in Dragengine.Gui.DefaultDragAndDrop.
| Widget Dragengine.Gui.DragAndDrop.getDragSource | ( | ) |
Drag source.
Implemented in Dragengine.Gui.DefaultDragAndDrop.
| void Dragengine.Gui.DragAndDrop.setCanDrop | ( | bool | canDrop | ) |
Set if dropping is possible at the current location.
Implemented in Dragengine.Gui.DefaultDragAndDrop.
| bool Dragengine.Gui.DragAndDrop.supportsDataType | ( | String | type | ) |
Drag source supports a type.
Implemented in Dragengine.Gui.DefaultDragAndDrop.