open fun setDropTargetData(format: String, callback: (String?) -> Unit): Unit
Sets the current widget as a D&D drop target with helper callback accepting String data.
format
- accepted D&D data format
callback
- a callback function accepting String data called after any drop event