RecentManager.lookupItem

gtk.recent_info.RecentInfo lookupItem(string uri)

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

Parameters

uria URI

Returns

a #GtkRecentInfo-struct 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.RecentInfo.unref].

Throws

[ErrorWrap]