Function gtk::functions::targets_include_rich_text[][src]

pub fn targets_include_rich_text<P: IsA<TextBuffer>>(
    targets: &[&Atom],
    buffer: &P
) -> 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.