RGtk2 (version 2.20.31)

gtkRecentManagerLookupItem: gtkRecentManagerLookupItem

Description

Searches for a URI inside the recently used resources list, and returns a structure containing informations about the resource like its MIME type, or its display name.

Usage

gtkRecentManagerLookupItem(object, uri, .errwarn = TRUE)

Arguments

uri
a URI
.errwarn
Whether to issue a warning on error or fail silently

Value

A list containing the following elements:
retval
[GtkRecentInfo] a GtkRecentInfo structure containing information about the resource pointed by uri, or NULL if the URI was not registered in the recently used resources list. Free with gtkRecentInfoUnref.
error
a return location for a GError, or NULL. [ allow-none ]

Details

Since 2.10