Gtk.TextBuffer.prototype.get_paste_target_list

function get_paste_target_list():Gtk.TargetList {
    // Gjs wrapper for gtk_text_buffer_get_paste_target_list()
}

This function returns the list of targets this text buffer supports for pasting and as DND destination. 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