request_uris


Description:

[ Version ( since = "2.14" ) ]
public void request_uris (ClipboardURIReceivedFunc callback)

Requests the contents of the clipboard as URIs.

When the URIs are later received callback will be called.

The uris parameter to callback will contain the resulting array of URIs if the request succeeded, or null if it 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.

Parameters:

this

a Clipboard

callback

a function to call when the URIs are received, or the retrieval fails. (It will always be called one way or the other.)

user_data

user data to pass to callback.




2022 vala-language.org