Ardour  9.0-pre0-384-ga76afae0e9
gtkrecentfilter.h File Reference
#include <glib-object.h>
Include dependency graph for gtkrecentfilter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GtkRecentFilterInfo
 

Macros

#define GTK_TYPE_RECENT_FILTER   (gtk_recent_filter_get_type ())
 
#define GTK_RECENT_FILTER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RECENT_FILTER, GtkRecentFilter))
 
#define GTK_IS_RECENT_FILTER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RECENT_FILTER))
 

Typedefs

typedef struct _GtkRecentFilter GtkRecentFilter
 
typedef struct _GtkRecentFilterInfo GtkRecentFilterInfo
 
typedef gboolean(* GtkRecentFilterFunc) (const GtkRecentFilterInfo *filter_info, gpointer user_data)
 

Enumerations

enum  GtkRecentFilterFlags {
  GTK_RECENT_FILTER_URI = 1 << 0 , GTK_RECENT_FILTER_DISPLAY_NAME = 1 << 1 , GTK_RECENT_FILTER_MIME_TYPE = 1 << 2 , GTK_RECENT_FILTER_APPLICATION = 1 << 3 ,
  GTK_RECENT_FILTER_GROUP = 1 << 4 , GTK_RECENT_FILTER_AGE = 1 << 5
}
 

Functions

GType gtk_recent_filter_get_type (void) G_GNUC_CONST
 
GtkRecentFiltergtk_recent_filter_new (void)
 
void gtk_recent_filter_set_name (GtkRecentFilter *filter, const gchar *name)
 
const gchar * gtk_recent_filter_get_name (GtkRecentFilter *filter)
 
void gtk_recent_filter_add_mime_type (GtkRecentFilter *filter, const gchar *mime_type)
 
void gtk_recent_filter_add_pattern (GtkRecentFilter *filter, const gchar *pattern)
 
void gtk_recent_filter_add_pixbuf_formats (GtkRecentFilter *filter)
 
void gtk_recent_filter_add_application (GtkRecentFilter *filter, const gchar *application)
 
void gtk_recent_filter_add_group (GtkRecentFilter *filter, const gchar *group)
 
void gtk_recent_filter_add_age (GtkRecentFilter *filter, gint days)
 
void gtk_recent_filter_add_custom (GtkRecentFilter *filter, GtkRecentFilterFlags needed, GtkRecentFilterFunc func, gpointer data, GDestroyNotify data_destroy)
 
GtkRecentFilterFlags gtk_recent_filter_get_needed (GtkRecentFilter *filter)
 
gboolean gtk_recent_filter_filter (GtkRecentFilter *filter, const GtkRecentFilterInfo *filter_info)
 

Macro Definition Documentation

◆ GTK_IS_RECENT_FILTER

#define GTK_IS_RECENT_FILTER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RECENT_FILTER))

Definition at line 34 of file gtkrecentfilter.h.

◆ GTK_RECENT_FILTER

#define GTK_RECENT_FILTER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RECENT_FILTER, GtkRecentFilter))

Definition at line 33 of file gtkrecentfilter.h.

◆ GTK_TYPE_RECENT_FILTER

#define GTK_TYPE_RECENT_FILTER   (gtk_recent_filter_get_type ())

Definition at line 32 of file gtkrecentfilter.h.

Typedef Documentation

◆ GtkRecentFilter

typedef struct _GtkRecentFilter GtkRecentFilter

Definition at line 30 of file gtkrecentfilter.h.

◆ GtkRecentFilterFunc

typedef gboolean(* GtkRecentFilterFunc) (const GtkRecentFilterInfo *filter_info, gpointer user_data)

Definition at line 48 of file gtkrecentfilter.h.

◆ GtkRecentFilterInfo

Definition at line 30 of file gtkrecentfilter.h.

Enumeration Type Documentation

◆ GtkRecentFilterFlags

Enumerator
GTK_RECENT_FILTER_URI 
GTK_RECENT_FILTER_DISPLAY_NAME 
GTK_RECENT_FILTER_MIME_TYPE 
GTK_RECENT_FILTER_APPLICATION 
GTK_RECENT_FILTER_GROUP 
GTK_RECENT_FILTER_AGE 

Definition at line 39 of file gtkrecentfilter.h.

Function Documentation

◆ gtk_recent_filter_add_age()

void gtk_recent_filter_add_age ( GtkRecentFilter filter,
gint  days 
)

◆ gtk_recent_filter_add_application()

void gtk_recent_filter_add_application ( GtkRecentFilter filter,
const gchar *  application 
)

◆ gtk_recent_filter_add_custom()

void gtk_recent_filter_add_custom ( GtkRecentFilter filter,
GtkRecentFilterFlags  needed,
GtkRecentFilterFunc  func,
gpointer  data,
GDestroyNotify  data_destroy 
)

◆ gtk_recent_filter_add_group()

void gtk_recent_filter_add_group ( GtkRecentFilter filter,
const gchar *  group 
)

◆ gtk_recent_filter_add_mime_type()

void gtk_recent_filter_add_mime_type ( GtkRecentFilter filter,
const gchar *  mime_type 
)

◆ gtk_recent_filter_add_pattern()

void gtk_recent_filter_add_pattern ( GtkRecentFilter filter,
const gchar *  pattern 
)

◆ gtk_recent_filter_add_pixbuf_formats()

void gtk_recent_filter_add_pixbuf_formats ( GtkRecentFilter filter)

◆ gtk_recent_filter_filter()

gboolean gtk_recent_filter_filter ( GtkRecentFilter filter,
const GtkRecentFilterInfo filter_info 
)

◆ gtk_recent_filter_get_name()

const gchar* gtk_recent_filter_get_name ( GtkRecentFilter filter)

◆ gtk_recent_filter_get_needed()

GtkRecentFilterFlags gtk_recent_filter_get_needed ( GtkRecentFilter filter)

◆ gtk_recent_filter_get_type()

GType gtk_recent_filter_get_type ( void  )

◆ gtk_recent_filter_new()

GtkRecentFilter* gtk_recent_filter_new ( void  )

◆ gtk_recent_filter_set_name()

void gtk_recent_filter_set_name ( GtkRecentFilter filter,
const gchar *  name 
)