Gtk.TargetList.prototype.add_text_targets

function add_text_targets(info:Number):void {
    // Gjs wrapper for gtk_target_list_add_text_targets()
}

Appends the text targets supported by #GtkSelection to the target list. All targets are added with the same info.

Since 2.6

info

an ID that will be passed back to the application