Function

Gtktargets_include_image

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

writable gboolean
 

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

Return value

Returns: gboolean
 

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