Virtual Method

GtkRecentChooserget_items

since: 2.10

Declaration [src]

GList*
get_items (
  GtkRecentChooser* chooser
)

Description [src]

Gets the list of recently used resources in form of GtkRecentInfo objects.

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

Available since: 2.10

Return value

Type: A list of GtkRecentInfo*

A newly allocated list of GtkRecentInfo objects. You should use gtk_recent_info_unref() on every item of the list, and then free the list itself using g_list_free().

The caller of the method takes ownership of the returned data, and is responsible for freeing it.