Gtk.Widget.prototype.drag_dest_get_target_list

function drag_dest_get_target_list():Gtk.TargetList {
    // Gjs wrapper for gtk_drag_dest_get_target_list()
}

Returns the list of targets this widget can accept from drag-and-drop.

Returns

the Gtk.TargetList, or null if none