targets_include_rich_text

function targets_include_rich_text(targets:[Gdk.Atom], buffer:Gtk.TextBuffer):Boolean {
    // Gjs wrapper for gtk_targets_include_rich_text()
}

Determines if any of the targets in targets can be used to provide rich text.

Since 2.10

targets

an array of Gdk.Atom<!-- -->s

buffer

a Gtk.TextBuffer

Returns

true if targets include a suitable target for rich text, otherwise false.