Function

Gtktargets_include_rich_text

Declaration [src]

gboolean
gtk_targets_include_rich_text (
  GdkAtom* targets,
  gint n_targets,
  GtkTextBuffer* buffer
)

Description [src]

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

Available since:2.10

Parameters

targets

Type: An array of GdkAtom

An array of GdkAtoms.

The length of the array is specified in the n_targets argument.
The data is owned by the caller of the function.
n_targets

Type: gint

The length of targets.

buffer

Type: GtkTextBuffer

A GtkTextBuffer.

The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE if targets include a suitable target for rich text, otherwise FALSE.