Method

GtkSelectionDataget_uris

since: 2.6

Declaration [src]

gchar**
gtk_selection_data_get_uris (
  const GtkSelectionData* selection_data
)

Description [src]

Gets the contents of the selection data as array of URIs.

Since 3.24.37, this may involve using the FileTransfer portal to send files between sandboxed apps.

Available since: 2.6

Return value

Type: An array of utf8

If the selection data contains a list of URIs, a newly allocated NULL-terminated string array containing the URIs, otherwise NULL. If the result is non-NULL it must be freed with g_strfreev().

The array is NULL-terminated.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.
Each element is a NUL terminated UTF-8 string.