Gtk.Clipboard.prototype.wait_is_uris_available
function wait_is_uris_available():Boolean { // Gjs wrapper for gtk_clipboard_wait_is_uris_available() }
Test to see if there is a list of URIs available to be pasted This is done by requesting the TARGETS atom and checking if it contains the URI targets. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.
This function is a little faster than calling Gtk.Clipboard.prototype.wait_for_uris since it doesn't need to retrieve the actual URI data.
Since 2.14
- Returns
true is there is an URI list available, false otherwise.