targets_include_image
function targets_include_image(targets:[Gdk.Atom], writable:Boolean):Boolean { // Gjs wrapper for gtk_targets_include_image() }
Determines if any of the targets in targets can be used to provide a GdkPixbuf.Pixbuf.
Since 2.10
- targets
an array of Gdk.Atom<!-- -->s
- writable
whether to accept only targets for which GTK+ knows how to convert a pixbuf into the format
- Returns
true if targets include a suitable target for images, otherwise false.