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 [GtkRecentManager] a GtkRecentManager
uri [character] 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 [GError] a return location for a GError, or NULL

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]