Gtk.SelectionData.prototype.get_targets
function get_targets():Boolean { // Gjs wrapper for gtk_selection_data_get_targets() }
Gets the contents of selection_data as an array of targets. This can be used to interpret the results of getting the standard TARGETS target that is always supplied for any selection.
- Returns
true if selection_data contains a valid array of targets, otherwise false.