Function

Gtktargets_include_image

since: 2.10

Declaration [src]

gboolean
gtk_targets_include_image (
  GdkAtom* targets,
  gint n_targets,
  gboolean writable
)

Description [src]

Determines if any of the targets in targets can be used to provide a GdkPixbuf.

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.

writable

Type: gboolean

Whether to accept only targets for which GTK+ knows how to convert a pixbuf into the format.

Return value

Type: gboolean

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