Gtk.TreeView.prototype.enable_model_drag_source

function enable_model_drag_source(start_button_mask:Gdk.ModifierType, targets:[Gtk.TargetEntry], actions:Gdk.DragAction):void {
    // Gjs wrapper for gtk_tree_view_enable_model_drag_source()
}

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

start_button_mask

Mask of allowed buttons to start drag

targets

the table of targets that the drag will support

actions

the bitmask of possible actions for a drag from this widget