targets_include_image


Description:

[ Version ( since = "2.6" ) ]
public bool targets_include_image (bool writable)

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

Parameters:

this

a SelectionData object

writable

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

Returns:

true if this holds a list of targets, and a suitable target for images is included, otherwise false.




2022 vala-language.org