21 #ifndef __GTK_RECENT_MANAGER_H__
22 #define __GTK_RECENT_MANAGER_H__
24 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
25 #error "Only <gtk/gtk.h> can be included directly."
28 #include <gdk-pixbuf/gdk-pixbuf.h>
34 #define GTK_TYPE_RECENT_INFO (gtk_recent_info_get_type ())
36 #define GTK_TYPE_RECENT_MANAGER (gtk_recent_manager_get_type ())
37 #define GTK_RECENT_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RECENT_MANAGER, GtkRecentManager))
38 #define GTK_IS_RECENT_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RECENT_MANAGER))
39 #define GTK_RECENT_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RECENT_MANAGER, GtkRecentManagerClass))
40 #define GTK_IS_RECENT_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RECENT_MANAGER))
41 #define GTK_RECENT_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RECENT_MANAGER, GtkRecentManagerClass))
134 #define GTK_RECENT_MANAGER_ERROR (gtk_recent_manager_error_quark ())
143 #ifndef GTK_DISABLE_DEPRECATED
164 const gchar *new_uri,
188 const gchar *app_name,
189 const gchar **app_exec,
193 gsize *
length) G_GNUC_MALLOC;
196 const gchar *app_name);
198 gsize *
length) G_GNUC_MALLOC;
200 const gchar *group_name);
GList * gtk_recent_manager_get_items(GtkRecentManager *manager)
struct _GtkRecentInfo GtkRecentInfo
void gtk_recent_manager_set_screen(GtkRecentManager *manager, GdkScreen *screen)
time_t gtk_recent_info_get_added(GtkRecentInfo *info)
gboolean gtk_recent_info_exists(GtkRecentInfo *info)
gint gtk_recent_manager_get_limit(GtkRecentManager *manager)
gboolean gtk_recent_info_has_application(GtkRecentInfo *info, const gchar *app_name)
GtkRecentManager * gtk_recent_manager_get_default(void)
gboolean gtk_recent_manager_has_item(GtkRecentManager *manager, const gchar *uri)
const gchar * gtk_recent_info_get_mime_type(GtkRecentInfo *info)
GtkRecentInfo * gtk_recent_info_ref(GtkRecentInfo *info)
gboolean gtk_recent_info_match(GtkRecentInfo *info_a, GtkRecentInfo *info_b)
gchar * gtk_recent_info_last_application(GtkRecentInfo *info) G_GNUC_MALLOC
gboolean gtk_recent_manager_remove_item(GtkRecentManager *manager, const gchar *uri, GError **error)
GtkRecentManager * gtk_recent_manager_get_for_screen(GdkScreen *screen)
gboolean gtk_recent_manager_move_item(GtkRecentManager *manager, const gchar *uri, const gchar *new_uri, GError **error)
gchar ** gtk_recent_info_get_applications(GtkRecentInfo *info, gsize *length) G_GNUC_MALLOC
gboolean gtk_recent_info_has_group(GtkRecentInfo *info, const gchar *group_name)
gboolean gtk_recent_info_is_local(GtkRecentInfo *info)
void gtk_recent_info_unref(GtkRecentInfo *info)
GQuark gtk_recent_manager_error_quark(void)
const gchar * gtk_recent_info_get_description(GtkRecentInfo *info)
GType gtk_recent_manager_get_type(void) G_GNUC_CONST
const gchar * gtk_recent_info_get_display_name(GtkRecentInfo *info)
struct _GtkRecentManagerPrivate GtkRecentManagerPrivate
GType gtk_recent_info_get_type(void) G_GNUC_CONST
const gchar * gtk_recent_info_get_uri(GtkRecentInfo *info)
gint gtk_recent_info_get_age(GtkRecentInfo *info)
GdkPixbuf * gtk_recent_info_get_icon(GtkRecentInfo *info, gint size)
gboolean gtk_recent_manager_add_item(GtkRecentManager *manager, const gchar *uri)
gchar ** gtk_recent_info_get_groups(GtkRecentInfo *info, gsize *length) G_GNUC_MALLOC
void gtk_recent_manager_set_limit(GtkRecentManager *manager, gint limit)
gchar * gtk_recent_info_get_uri_display(GtkRecentInfo *info) G_GNUC_MALLOC
GtkRecentInfo * gtk_recent_manager_lookup_item(GtkRecentManager *manager, const gchar *uri, GError **error)
gint gtk_recent_manager_purge_items(GtkRecentManager *manager, GError **error)
@ GTK_RECENT_MANAGER_ERROR_UNKNOWN
@ GTK_RECENT_MANAGER_ERROR_READ
@ GTK_RECENT_MANAGER_ERROR_WRITE
@ GTK_RECENT_MANAGER_ERROR_NOT_FOUND
@ GTK_RECENT_MANAGER_ERROR_NOT_REGISTERED
@ GTK_RECENT_MANAGER_ERROR_INVALID_URI
@ GTK_RECENT_MANAGER_ERROR_INVALID_ENCODING
gboolean gtk_recent_info_get_private_hint(GtkRecentInfo *info)
void _gtk_recent_manager_sync(void)
gchar * gtk_recent_info_get_short_name(GtkRecentInfo *info) G_GNUC_MALLOC
gboolean gtk_recent_info_get_application_info(GtkRecentInfo *info, const gchar *app_name, const gchar **app_exec, guint *count, time_t *time_)
GtkRecentManager * gtk_recent_manager_new(void)
time_t gtk_recent_info_get_visited(GtkRecentInfo *info)
time_t gtk_recent_info_get_modified(GtkRecentInfo *info)
gboolean gtk_recent_manager_add_full(GtkRecentManager *manager, const gchar *uri, const GtkRecentData *recent_data)
PBD::PropertyDescriptor< timecnt_t > length
void(* changed)(GtkRecentManager *manager)
void(* _gtk_recent4)(void)
void(* _gtk_recent1)(void)
void(* _gtk_recent3)(void)
GObjectClass parent_class
void(* _gtk_recent2)(void)
GtkRecentManagerPrivate * GSEAL(priv)