Struct

GtkRecentData

Description [src]

struct GtkRecentData {
  gchar* display_name;
  gchar* description;
  gchar* mime_type;
  gchar* app_name;
  gchar* app_exec;
  gchar** groups;
  gboolean is_private;
}

Meta-data to be passed to gtk_recent_manager_add_full() when registering a recently used resource.

Structure members
display_name

A UTF-8 encoded string, containing the name of the recently used resource to be displayed, or NULL;.

description

A UTF-8 encoded string, containing a short description of the resource, or NULL;.

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.