Creates a new gtk.RecentFilter with no rules added to it. Such filter does not accept any recently used resources, so is not particularly useful until you add rules with RecentFilter.addPattern, RecentFilter.addMimeType, RecentFilter.addApplication, RecentFilter.addAge. To create a filter that accepts any recently used resource, use:
GtkRecentFilter *filter = gtk_recent_filter_new (); gtk_recent_filter_add_pattern (filter, "*");
a new gtk.RecentFilter
ConstructionException GTK+ fails to create the object.
2.10
Creates a new gtk.RecentFilter with no rules added to it. Such filter does not accept any recently used resources, so is not particularly useful until you add rules with RecentFilter.addPattern, RecentFilter.addMimeType, RecentFilter.addApplication, RecentFilter.addAge. To create a filter that accepts any recently used resource, use:
GtkRecentFilter *filter = gtk_recent_filter_new (); gtk_recent_filter_add_pattern (filter, "*");