wait_for_uris


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "2.14" ) ]
public string[]? wait_for_uris ()

Requests the contents of the clipboard as URIs.

This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.

Parameters:

this

a Clipboard

Returns:

a newly-allocated null-terminated array of strings which must be freed with strfreev, or null if retrieving the selection data failed. (This could happen for various reasons, in particular if the clipboard was empty or if the contents of the clipboard could not be converted into URI form.)




2022 vala-language.org