lookup_item


Description:

public RecentInfo? lookup_item (string uri) throws Error

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

Parameters:

this

a `GtkRecentManager`

uri

a URI

Returns:

a `GtkRecentInfo` containing information about the resource pointed by uri, or null if the URI was not registered in the recently used resources list. Free with [method@Gtk.RecentInfo.unref].