SelectionData.targetsIncludeRichText

bool targetsIncludeRichText(gtk.text_buffer.TextBuffer buffer)

Given a #GtkSelectionData object holding a list of targets, determines if any of the targets in targets can be used to provide rich text.

Parameters

buffera #GtkTextBuffer

Returns

true if selection_data holds a list of targets,

and a suitable target for rich text is included, otherwise false.