Method

GtkRecentChooserget_uris

since: 2.10

Declaration [src]

gchar**
gtk_recent_chooser_get_uris (
  GtkRecentChooser* chooser,
  gsize* length
)

Description [src]

Gets the URI of the recently used resources.

The return value of this function is affected by the “sort-type” and “limit” properties of chooser.

Since the returned array is NULL terminated, length may be NULL.

Available since: 2.10

Parameters

length

Type: gsize*

Return location for a the length of the URI list, or NULL.

The argument will be set by the function.
The argument can be NULL.

Return value

Type: An array of utf8

A newly allocated, `NULL`-terminated array of strings. Use
`g_strfreev()` to free it.
The array is NULL-terminated.
The length of the array is in the length argument.
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.