Gtk.SelectionData.prototype.targets_include_image
function targets_include_image(writable:Boolean):Boolean { // Gjs wrapper for gtk_selection_data_targets_include_image() }
Given a Gtk.SelectionData object holding a list of targets, determines if any of the targets in @targets can be used to provide a GdkPixbuf.Pixbuf.
Since 2.6
- writable
whether 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.