Sets our main struct and passes it to the parent class.
A destructor is present on this object, but not explicitly documented in the source.
Creates a GAppInfo for the specified gtk.RecentInfo
Checks whether the resource pointed by info still exists. At the moment this check is done only on resources pointing to local files.
Gets the timestamp (seconds from system’s Epoch) when the resource was added to the recently used resources list.
Gets the number of days elapsed since the last update of the resource pointed by info.
Gets the data regarding the application that has registered the resource pointed by info.
Retrieves the list of applications that have registered this resource.
Gets the (short) description of the resource.
Gets the name of the resource. If none has been defined, the basename of the resource is obtained.
Retrieves the icon associated to the resource MIME type.
Returns all groups registered for the recently used item info. The array of returned group names will be NULL terminated, so length might optionally be NULL.
Retrieves the icon of size size associated to the resource MIME type.
Gets the MIME type of the resource.
Gets the timestamp (seconds from system’s Epoch) when the meta-data for the resource was last modified.
Gets the value of the “private” flag. Resources in the recently used list that have this flag set to TRUE should only be displayed by the applications that have registered them.
Get the main Gtk struct
Computes a valid UTF-8 string that can be used as the name of the item in a menu or list. For example, calling this function on an item that refers to “file:///foo/bar.txt” will yield “bar.txt”.
the main Gtk struct as a void*
Gets the URI of the resource.
Gets a displayable version of the resource’s URI. If the resource is local, it returns a local path; if the resource is not local, it returns the UTF-8 encoded content of RecentInfo.getUri.
Gets the timestamp (seconds from system’s Epoch) when the meta-data for the resource was last visited.
Checks whether an application registered this resource using app_name.
Checks whether group_name appears inside the groups registered for the recently used item info.
Checks whether the resource is local or not by looking at the scheme of its URI.
Gets the name of the last application that have registered the recently used resource represented by info.
Checks whether two [GtkRecentInfo-struct|GtkRecentInfo-struct] point to the same resource.
Increases the reference count of recent_info by one.
Decreases the reference count of info by one. If the reference count reaches zero, info is deallocated, and the memory freed.
the main Gtk struct
[GtkRecentInfo-struct|GtkRecentInfo-struct] contains private data only, and should be accessed using the provided API.
gtk.RecentInfo constains all the meta-data associated with an entry in the recently used files list.