Method

GtkSelectionDatatargets_include_rich_text

since: 2.10

Declaration [src]

gboolean
gtk_selection_data_targets_include_rich_text (
  const GtkSelectionData* selection_data,
  GtkTextBuffer* buffer
)

Description [src]

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

Available since: 2.10

Parameters

buffer

Type: GtkTextBuffer

A GtkTextBuffer.

The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE if selection_data holds a list of targets, and a suitable target for rich text is included, otherwise FALSE.