RecentChooser.getItems

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.

Returns

A newly allocated

list of #GtkRecentInfo objects. You should use [gtk.recent_info.RecentInfo.unref] on every item of the list, and then free the list itself using [glib.list.List.free].