Struct

GtkRecentInfo

since: 2.10

Description [src]

struct GtkRecentInfo {
  /* No available fields */
}

GtkRecentInfo-struct contains private data only, and should be accessed using the provided API.

GtkRecentInfo constains all the meta-data associated with an entry in the recently used files list.

Available since: 2.10

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.

since: 2.10

gtk_recent_info_get_added

Gets the timestamp (seconds from system’s Epoch) when the resource was added to the recently used resources list.

since: 2.10

gtk_recent_info_get_age

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

since: 2.10

gtk_recent_info_get_application_info

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

since: 2.10

gtk_recent_info_get_applications

Retrieves the list of applications that have registered this resource.

since: 2.10

gtk_recent_info_get_description

Gets the (short) description of the resource.

since: 2.10

gtk_recent_info_get_display_name

Gets the name of the resource. If none has been defined, the basename of the resource is obtained.

since: 2.10

gtk_recent_info_get_gicon

Retrieves the icon associated to the resource MIME type.

since: 2.22

gtk_recent_info_get_groups

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.

since: 2.10

gtk_recent_info_get_icon

Retrieves the icon of size size associated to the resource MIME type.

since: 2.10

gtk_recent_info_get_mime_type

Gets the MIME type of the resource.

since: 2.10

gtk_recent_info_get_modified

Gets the timestamp (seconds from system’s Epoch) when the meta-data for the resource was last modified.

since: 2.10

gtk_recent_info_get_private_hint

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.

since: 2.10

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. For example, calling this function on an item that refers to “file:///foo/bar.txt” will yield “bar.txt”.

since: 2.10

gtk_recent_info_get_uri

Gets the URI of the resource.

since: 2.10

gtk_recent_info_get_uri_display

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 gtk_recent_info_get_uri().

since: 2.10

gtk_recent_info_get_visited

Gets the timestamp (seconds from system’s Epoch) when the meta-data for the resource was last visited.

since: 2.10

gtk_recent_info_has_application

Checks whether an application registered this resource using app_name.

since: 2.10

gtk_recent_info_has_group

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

since: 2.10

gtk_recent_info_is_local

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

since: 2.10

gtk_recent_info_last_application

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

since: 2.10

gtk_recent_info_match

Checks whether two GtkRecentInfo-struct point to the same resource.

since: 2.10

gtk_recent_info_ref

Increases the reference count of recent_info by one.

since: 2.10

gtk_recent_info_unref

Decreases the reference count of info by one. If the reference count reaches zero, info is deallocated, and the memory freed.

since: 2.10