Method

GtkSelectionDataget_uris

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.

Available since:2.6

Return value

Returns: 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 data, and is responsible for freeing it.
 Each element is a NUL terminated UTF-8 string.