Gtk.TextBuffer.prototype.get_copy_target_list

function get_copy_target_list():Gtk.TargetList {
    // Gjs wrapper for gtk_text_buffer_get_copy_target_list()
}

This function returns the list of targets this text buffer can provide for copying and as DND source. The targets in the list are added with @info values from the Gtk.TextBufferTargetInfo enum, using Gtk.TargetList.prototype.add_rich_text_targets and Gtk.TargetList.prototype.add_text_targets.

Since 2.10

Returns

the Gtk.TargetList