RecentManager.lookupItem

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

class RecentManager
lookupItem
(
string uri
)

Parameters

uri string

a URI

Return Value

Type: gtk.recent_info.RecentInfo

a gtk.recent_info.RecentInfo 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.