Struct

GtkRecentInfo

Description [src]

struct GtkRecentInfo {
  /* No available fields */
}

GtkRecentInfo contains the metadata associated with an item in the recently used files list.

Instance methods

gtk_recent_info_create_app_info

Creates a GAppInfo for the specified GtkRecentInfo.

gtk_recent_info_exists

Checks whether the resource pointed by info still exists. At the moment this check is done only on resources pointing to local files.

gtk_recent_info_get_added

Gets the time when the resource was added to the recently used resources list.

gtk_recent_info_get_age

Gets the number of days elapsed since the last update of the resource pointed by info.

gtk_recent_info_get_application_info

Gets the data regarding the application that has registered the resource pointed by info.

gtk_recent_info_get_applications

Retrieves the list of applications that have registered this resource.

gtk_recent_info_get_description

Gets the (short) description of the resource.

gtk_recent_info_get_display_name

Gets the name of the resource.

gtk_recent_info_get_gicon

Retrieves the icon associated to the resource MIME type.

gtk_recent_info_get_groups

Returns all groups registered for the recently used item info.

gtk_recent_info_get_mime_type

Gets the MIME type of the resource.

gtk_recent_info_get_modified

Gets the time when the meta-data for the resource was last modified.

gtk_recent_info_get_private_hint

Gets the value of the “private” flag.

gtk_recent_info_get_short_name

Computes a valid UTF-8 string that can be used as the name of the item in a menu or list.

gtk_recent_info_get_uri

Gets the URI of the resource.

gtk_recent_info_get_uri_display

Gets a displayable version of the resource’s URI.

gtk_recent_info_get_visited

Gets the time when the meta-data for the resource was last visited.

gtk_recent_info_has_application

Checks whether an application registered this resource using app_name.

gtk_recent_info_has_group

Checks whether group_name appears inside the groups registered for the recently used item info.

gtk_recent_info_is_local

Checks whether the resource is local or not by looking at the scheme of its URI.

gtk_recent_info_last_application

Gets the name of the last application that have registered the recently used resource represented by info.

gtk_recent_info_match

Checks whether two GtkRecentInfo point to the same resource.

gtk_recent_info_ref

Increases the reference count of recent_info by one.

gtk_recent_info_unref

Decreases the reference count of info by one.