targets_include_image


Description:


[ Version ( since = "2.10" ) ]
public bool targets_include_image (Atom[] targets, bool writable)

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

Parameters:

targets

an array of Atoms

writable

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

n_targets

the length of targets

Returns:

true if targets include a suitable target for images, otherwise false.


Namespace: Gtk
Package: gtk+-3.0



2022 vala-language.org