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 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 gint
 

The length of targets.

buffer GtkTextBuffer
 

A GtkTextBuffer.

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

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