pub fn targets_include_rich_text(
    targets: &[Atom],
    buffer: &impl IsA<TextBuffer>
) -> bool
Expand description

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

targets

an array of GdkAtoms

buffer

a TextBuffer

Returns

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