RecentManager.lookupItem

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. Since 2.10

class RecentManager
lookupItem
(
string uri
)

Parameters

uri string

a URI

Return Value

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 gtk_recent_info_unref().

Throws

GException on failure.

Meta