Method

GtkSelectionDataset_uris

since: 2.6

Declaration [src]

gboolean
gtk_selection_data_set_uris (
  GtkSelectionData* selection_data,
  gchar** uris
)

Description [src]

Sets the contents of the selection from a list of URIs. The string is converted to the form determined by selection_data->target.

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

Available since: 2.6

Parameters

uris

Type: An array of gchar*

A NULL-terminated array of strings holding URIs.

The array must be NULL-terminated.
The data is owned by the caller of the method.
Each element is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE if the selection was successfully set, otherwise FALSE.