Method

GtkSelectionDatatargets_include_image

Declaration [src]

gboolean
gtk_selection_data_targets_include_image (
  const GtkSelectionData* selection_data,
  gboolean writable
)

Description [src]

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

Available since:2.6

Parameters

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 selection_data holds a list of targets, and a suitable target for images is included, otherwise FALSE.