Gtk.TreeDragDest.prototype.drag_data_received

function drag_data_received(dest:Gtk.TreePath, selection_data:Gtk.SelectionData):Boolean {
    // Gjs wrapper for gtk_tree_drag_dest_drag_data_received()
}

Asks the Gtk.TreeDragDest to insert a row before the path dest, deriving the contents of the row from selection_data. If dest is outside the tree so that inserting before it is impossible, false will be returned. Also, false may be returned if the new row is not created for some model-specific reason. Should robustly handle a dest no longer found in the model!

dest

row to drop in front of

selection_data

data to drop

Returns

whether a new row was created before position dest