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

Go to the source code of this file.

Classes

struct  _GtkFileFilterInfo
 

Macros

#define GTK_TYPE_FILE_FILTER   (gtk_file_filter_get_type ())
 
#define GTK_FILE_FILTER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_FILTER, GtkFileFilter))
 
#define GTK_IS_FILE_FILTER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_FILTER))
 

Typedefs

typedef struct _GtkFileFilter GtkFileFilter
 
typedef struct _GtkFileFilterInfo GtkFileFilterInfo
 
typedef gboolean(* GtkFileFilterFunc) (const GtkFileFilterInfo *filter_info, gpointer data)
 

Enumerations

enum  GtkFileFilterFlags { GTK_FILE_FILTER_FILENAME = 1 << 0 , GTK_FILE_FILTER_URI = 1 << 1 , GTK_FILE_FILTER_DISPLAY_NAME = 1 << 2 , GTK_FILE_FILTER_MIME_TYPE = 1 << 3 }
 

Functions

GType gtk_file_filter_get_type (void) G_GNUC_CONST
 
GtkFileFiltergtk_file_filter_new (void)
 
void gtk_file_filter_set_name (GtkFileFilter *filter, const gchar *name)
 
const gchar * gtk_file_filter_get_name (GtkFileFilter *filter)
 
void gtk_file_filter_add_mime_type (GtkFileFilter *filter, const gchar *mime_type)
 
void gtk_file_filter_add_pattern (GtkFileFilter *filter, const gchar *pattern)
 
void gtk_file_filter_add_pixbuf_formats (GtkFileFilter *filter)
 
void gtk_file_filter_add_custom (GtkFileFilter *filter, GtkFileFilterFlags needed, GtkFileFilterFunc func, gpointer data, GDestroyNotify notify)
 
GtkFileFilterFlags gtk_file_filter_get_needed (GtkFileFilter *filter)
 
gboolean gtk_file_filter_filter (GtkFileFilter *filter, const GtkFileFilterInfo *filter_info)
 

Macro Definition Documentation

◆ GTK_FILE_FILTER

#define GTK_FILE_FILTER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_FILTER, GtkFileFilter))

Definition at line 33 of file gtkfilefilter.h.

◆ GTK_IS_FILE_FILTER

#define GTK_IS_FILE_FILTER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_FILTER))

Definition at line 34 of file gtkfilefilter.h.

◆ GTK_TYPE_FILE_FILTER

#define GTK_TYPE_FILE_FILTER   (gtk_file_filter_get_type ())

Definition at line 32 of file gtkfilefilter.h.

Typedef Documentation

◆ GtkFileFilter

typedef struct _GtkFileFilter GtkFileFilter

Definition at line 30 of file gtkfilefilter.h.

◆ GtkFileFilterFunc

typedef gboolean(* GtkFileFilterFunc) (const GtkFileFilterInfo *filter_info, gpointer data)

Definition at line 46 of file gtkfilefilter.h.

◆ GtkFileFilterInfo

Definition at line 30 of file gtkfilefilter.h.

Enumeration Type Documentation

◆ GtkFileFilterFlags

Enumerator
GTK_FILE_FILTER_FILENAME 
GTK_FILE_FILTER_URI 
GTK_FILE_FILTER_DISPLAY_NAME 
GTK_FILE_FILTER_MIME_TYPE 

Definition at line 39 of file gtkfilefilter.h.

Function Documentation

◆ gtk_file_filter_add_custom()

void gtk_file_filter_add_custom ( GtkFileFilter filter,
GtkFileFilterFlags  needed,
GtkFileFilterFunc  func,
gpointer  data,
GDestroyNotify  notify 
)

◆ gtk_file_filter_add_mime_type()

void gtk_file_filter_add_mime_type ( GtkFileFilter filter,
const gchar *  mime_type 
)

◆ gtk_file_filter_add_pattern()

void gtk_file_filter_add_pattern ( GtkFileFilter filter,
const gchar *  pattern 
)

◆ gtk_file_filter_add_pixbuf_formats()

void gtk_file_filter_add_pixbuf_formats ( GtkFileFilter filter)

◆ gtk_file_filter_filter()

gboolean gtk_file_filter_filter ( GtkFileFilter filter,
const GtkFileFilterInfo filter_info 
)

◆ gtk_file_filter_get_name()

const gchar* gtk_file_filter_get_name ( GtkFileFilter filter)

◆ gtk_file_filter_get_needed()

GtkFileFilterFlags gtk_file_filter_get_needed ( GtkFileFilter filter)

◆ gtk_file_filter_get_type()

GType gtk_file_filter_get_type ( void  )

◆ gtk_file_filter_new()

GtkFileFilter* gtk_file_filter_new ( void  )

◆ gtk_file_filter_set_name()

void gtk_file_filter_set_name ( GtkFileFilter filter,
const gchar *  name 
)