Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Gui.DragAndDrop Interface Reference

Interface for a drag and drop operation. More...

Inheritance diagram for Dragengine.Gui.DragAndDrop:
Dragengine.Gui.DefaultDragAndDrop

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.

Detailed Description

Interface for a drag and drop operation.

Member Function Documentation

◆ dropDone()

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.

Referenced by setCanDrop().

◆ getDataTypes()

DNDTypeList Dragengine.Gui.DragAndDrop.getDataTypes ( )

List of supported data types by the drag source.

Implemented in Dragengine.Gui.DefaultDragAndDrop.

References supportsDataType().

Referenced by getDragSource().

◆ getDragDataAs()

Object Dragengine.Gui.DragAndDrop.getDragDataAs ( String type)

Drag data in a specific format or null if not supported.

Implemented in Dragengine.Gui.DefaultDragAndDrop.

References setCanDrop().

Referenced by supportsDataType().

◆ getDragSource()

Widget Dragengine.Gui.DragAndDrop.getDragSource ( )

Drag source.

Implemented in Dragengine.Gui.DefaultDragAndDrop.

References getDataTypes(), and getDragSource().

Referenced by getDragSource().

◆ setCanDrop()

void Dragengine.Gui.DragAndDrop.setCanDrop ( bool canDrop)

Set if dropping is possible at the current location.

Implemented in Dragengine.Gui.DefaultDragAndDrop.

References dropDone().

Referenced by getDragDataAs().

◆ supportsDataType()

bool Dragengine.Gui.DragAndDrop.supportsDataType ( String type)

Drag source supports a type.

Implemented in Dragengine.Gui.DefaultDragAndDrop.

References getDragDataAs().

Referenced by getDataTypes().


The documentation for this interface was generated from the following file: