Method

GtkClipboardrequest_uris

since: 2.14

Declaration [src]

void
gtk_clipboard_request_uris (
  GtkClipboard* clipboard,
  GtkClipboardURIReceivedFunc callback,
  gpointer user_data
)

Description [src]

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.

Available since: 2.14

Parameters

callback

Type: GtkClipboardURIReceivedFunc

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

Type: gpointer

User data to pass to callback.

The argument can be NULL.
The data is owned by the caller of the method.