Gtk.Widget.prototype.drag_dest_add_text_targets

function drag_dest_add_text_targets():void {
    // Gjs wrapper for gtk_drag_dest_add_text_targets()
}

Add the text targets supported by #GtkSelection to the target list of the drag destination. The targets are added with @info = 0. If you need another value, use Gtk.TargetList.prototype.add_text_targets and Gtk.drag_dest_set_target_list.

Since 2.6