gtkRecentManagerLookupItem {RGtk2} | R Documentation

## 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

``object`` | a `GtkRecentManager`
``uri`` | a URI
`.errwarn` | Whether to issue a warning on error or fail silently

### Details

Since 2.10

### 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 ]

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]