Gtk.IconView.prototype.enable_model_drag_dest

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

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

Since 2.8

targets

the table of targets that the drag will support

actions

the bitmask of possible actions for a drag to this widget