Gtk.TreeView.prototype.enable_model_drag_dest

function enable_model_drag_dest(targets:[Gtk.TargetEntry], actions:Gdk.DragAction):void {
    // Gjs wrapper for gtk_tree_view_enable_model_drag_dest()
}

Turns tree_view into a drop destination for automatic DND. Calling this method sets Gtk.reorderable to false.

targets

the table of targets that the drag will support

actions

the bitmask of possible actions for a drag from this widget