Gtk.Widget.prototype.drag_source_get_target_list

function drag_source_get_target_list():Gtk.TargetList {
    // Gjs wrapper for gtk_drag_source_get_target_list()
}

Gets the list of targets this widget can provide for drag-and-drop.

Since 2.4

Returns

the Gtk.TargetList, or null if none