21 #ifndef __GTK_RECENT_FILTER_H__
22 #define __GTK_RECENT_FILTER_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 <glib-object.h>
32 #define GTK_TYPE_RECENT_FILTER (gtk_recent_filter_get_type ())
33 #define GTK_RECENT_FILTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RECENT_FILTER, GtkRecentFilter))
34 #define GTK_IS_RECENT_FILTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RECENT_FILTER))
72 const gchar *mime_type);
74 const gchar *pattern);
77 const gchar *application);
86 GDestroyNotify data_destroy);
GtkImageIconNameData name
gboolean(* GtkRecentFilterFunc)(const GtkRecentFilterInfo *filter_info, gpointer user_data)
GType gtk_recent_filter_get_type(void) G_GNUC_CONST
gboolean gtk_recent_filter_filter(GtkRecentFilter *filter, const GtkRecentFilterInfo *filter_info)
void gtk_recent_filter_set_name(GtkRecentFilter *filter, const gchar *name)
void gtk_recent_filter_add_custom(GtkRecentFilter *filter, GtkRecentFilterFlags needed, GtkRecentFilterFunc func, gpointer data, GDestroyNotify data_destroy)
void gtk_recent_filter_add_mime_type(GtkRecentFilter *filter, const gchar *mime_type)
void gtk_recent_filter_add_pixbuf_formats(GtkRecentFilter *filter)
void gtk_recent_filter_add_pattern(GtkRecentFilter *filter, const gchar *pattern)
void gtk_recent_filter_add_application(GtkRecentFilter *filter, const gchar *application)
GtkRecentFilter * gtk_recent_filter_new(void)
void gtk_recent_filter_add_age(GtkRecentFilter *filter, gint days)
@ GTK_RECENT_FILTER_APPLICATION
@ GTK_RECENT_FILTER_MIME_TYPE
@ GTK_RECENT_FILTER_GROUP
@ GTK_RECENT_FILTER_DISPLAY_NAME
GtkRecentFilterFlags gtk_recent_filter_get_needed(GtkRecentFilter *filter)
struct _GtkRecentFilter GtkRecentFilter
const gchar * gtk_recent_filter_get_name(GtkRecentFilter *filter)
void gtk_recent_filter_add_group(GtkRecentFilter *filter, const gchar *group)
GtkRecentFilterFlags contains
const gchar * display_name
const gchar ** applications