SelectionData.targetsIncludeImage

bool targetsIncludeImage(bool writable)

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

Parameters

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

Returns

true if selection_data holds a list of targets,

and a suitable target for images is included, otherwise false.