gtkRecentManagerLookupItem: gtkRecentManagerLookupItem

Description Usage Arguments Details Value Author(s)

View source: R/gtkFuncs.R

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

1
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


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.