Constructor
GtkFileFilternew
since: 2.4
Declaration [src]
GtkFileFilter*
gtk_file_filter_new (
void
)
Description [src]
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
gtk_file_filter_add_mime_type(), gtk_file_filter_add_pattern(),
or gtk_file_filter_add_custom(). To create a filter
that accepts any file, use:
GtkFileFilter *filter = gtk_file_filter_new ();
gtk_file_filter_add_pattern (filter, "*");
Available since: 2.4
Return value
Type: GtkFileFilter
A new GtkFileFilter
.
The data is owned by the called function. |