Struct

GtkRecentData

Description [src]

struct GtkRecentData {
  char* display_name;
  char* description;
  char* mime_type;
  char* app_name;
  char* app_exec;
  char** 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.