FileFilter


Description:

[ CCode ( has_construct_function = false ) ]
public FileFilter ()

Creates a new `GtkFileFilter` with no rules added to it.

Such a filter doesn’t accept any files, so is not particularly useful until you add rules with [[email protected]_mime_type], [ [email protected]_pattern], [[email protected]_suffix] or [[email protected]_pixbuf_formats].

To create a filter that accepts any file, use: ```c GtkFileFilter *filter = gtk_file_filter_new (); gtk_file_filter_add_pattern (filter, "*"); ```

Returns:

a new `GtkFileFilter`




2022 vala-language.org