21 #ifndef __GTK_FILE_FILTER_H__
22 #define __GTK_FILE_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_FILE_FILTER (gtk_file_filter_get_type ())
33 #define GTK_FILE_FILTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_FILTER, GtkFileFilter))
34 #define GTK_IS_FILE_FILTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_FILTER))
67 const gchar *mime_type);
69 const gchar *pattern);
75 GDestroyNotify notify);
void gtk_file_filter_set_name(GtkFileFilter *filter, const gchar *name)
void gtk_file_filter_add_pixbuf_formats(GtkFileFilter *filter)
GtkFileFilterFlags gtk_file_filter_get_needed(GtkFileFilter *filter)
GType gtk_file_filter_get_type(void) G_GNUC_CONST
struct _GtkFileFilter GtkFileFilter
void gtk_file_filter_add_pattern(GtkFileFilter *filter, const gchar *pattern)
const gchar * gtk_file_filter_get_name(GtkFileFilter *filter)
GtkFileFilter * gtk_file_filter_new(void)
gboolean gtk_file_filter_filter(GtkFileFilter *filter, const GtkFileFilterInfo *filter_info)
@ GTK_FILE_FILTER_DISPLAY_NAME
@ GTK_FILE_FILTER_MIME_TYPE
@ GTK_FILE_FILTER_FILENAME
void gtk_file_filter_add_custom(GtkFileFilter *filter, GtkFileFilterFlags needed, GtkFileFilterFunc func, gpointer data, GDestroyNotify notify)
gboolean(* GtkFileFilterFunc)(const GtkFileFilterInfo *filter_info, gpointer data)
void gtk_file_filter_add_mime_type(GtkFileFilter *filter, const gchar *mime_type)
GtkImageIconNameData name
const gchar * display_name
GtkFileFilterFlags contains