3.13 <GtkRecentData>

Structure: <GtkRecentData>

Meta-data to be passed to recent-manager:add-full? when registering a recently used resource.

Fields

display-name

a UTF-8 encoded string, containing the name of the recently used resource to be displayed, or #f;

description

a UTF-8 encoded string, containing a short description of the resource, or #f;

mime-type

the MIME type of the resource;

app-name

the name of the application that is registering this recently used resource;

app-exec

command line used to launch this resource; may contain the “\%f” and “\%u” escape characters which will be expanded to the resource file path and URI respectively when the command line is retrieved;

groups

a vector of strings containing groups names;

is-private

whether this resource should be displayed only by the applications that have registered it or not.

Procedures

Procedure: make-recent-data [display-name] [description] [mime-type] [app-name] [app-exec] [groups] [is-private] ⇒ struct
Procedure: recent-data:app-exec self ⇒ app-exec
Procedure: recent-data:app-name self ⇒ app-name
Procedure: recent-data:description self ⇒ description
Procedure: recent-data:display-name self ⇒ display-name
Procedure: recent-data:groups self ⇒ groups
Procedure: recent-data:is-private self ⇒ is-private
Procedure: recent-data:mime-type self ⇒ mime-type
Procedure: recent-data:set-app-exec! self app-exec
Procedure: recent-data:set-app-name! self app-name
Procedure: recent-data:set-description! self description
Procedure: recent-data:set-display-name! self display-name
Procedure: recent-data:set-groups! self groups
Procedure: recent-data:set-is-private! self is-private
Procedure: recent-data:set-mime-type! self mime-type