targets_include_text

function targets_include_text(targets:[Gdk.Atom]):Boolean {
    // Gjs wrapper for gtk_targets_include_text()
}

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

Since 2.10

targets

an array of Gdk.Atom<!-- -->s

Returns

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