Gtk.Widget.prototype.drag_dest_set_target_list

function drag_dest_set_target_list(target_list:Gtk.TargetList):void {
    // Gjs wrapper for gtk_drag_dest_set_target_list()
}

Sets the target types that this widget can accept from drag-and-drop. The widget must first be made into a drag destination with Gtk.Widget.prototype.drag_dest_set.

target_list

list of droppable targets, or null for none