RecentInfo

class RecentInfo(pointer: <Error class: unknown class><<Error class: unknown class>>)

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

Skipped during bindings generation

  • parameter app_exec: app_exec: Out parameter is not supported

  • parameter length: length: Out parameter is not supported

  • parameter length: length: Out parameter is not supported

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val gtkRecentInfoPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
fun createAppInfo(appName: String? = null): <Error class: unknown class><<Error class: unknown class>?>

Creates a GAppInfo for the specified GtkRecentInfo

Link copied to clipboard

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

Link copied to clipboard
fun getAdded(): <Error class: unknown class>

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

Link copied to clipboard
fun getAge(): Int

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

Link copied to clipboard

Gets the (short) description of the resource.

Link copied to clipboard

Gets the name of the resource.

Link copied to clipboard
fun getGicon(): <Error class: unknown class>?

Retrieves the icon associated to the resource MIME type.

Link copied to clipboard

Gets the MIME type of the resource.

Link copied to clipboard
fun getModified(): <Error class: unknown class>

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

Link copied to clipboard

Gets the value of the “private” flag.

Link copied to clipboard

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

Link copied to clipboard
fun getUri(): String

Gets the URI of the resource.

Link copied to clipboard

Gets a displayable version of the resource’s URI.

Link copied to clipboard
fun getVisited(): <Error class: unknown class>

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

Link copied to clipboard

Checks whether an application registered this resource using @app_name.

Link copied to clipboard
fun hasGroup(groupName: String): Boolean

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
fun match(infoB: RecentInfo): Boolean

Checks whether two GtkRecentInfo point to the same resource.

Link copied to clipboard

Increases the reference count of @recent_info by one.

Link copied to clipboard
fun unref()

Decreases the reference count of @info by one.