RecentFilter


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.10" ) ]
public RecentFilter ()

Creates a new 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 add_pattern, add_mime_type, add_application, add_age. To create a filter that accepts any recently used resource, use:

GtkRecentFilter *filter = gtk_recent_filter_new ();
gtk_recent_filter_add_pattern (filter, "*");

Returns:

a new RecentFilter




2022 vala-language.org