Previous Up Next

_CBtreeDrag
Define a callback function on drag-and-drop event : when the user drag an item on another item.

ObjTree _CBtreeDrag (
ObjTree _tree_
fun [ObjTree u0 ObjTreeItem ObjTreeItem] u1 _callback_
u0 _user_
)
Parameters

_tree_
any tree object
_callback_
callback function on drag-and-drop event (supplemental parameters are dragged item and dropped item)
_user_
user parameter
Return value

same tree object