RecentFilter.filter

Tests whether a file should be displayed according to @filter. The #GtkRecentFilterInfo @filter_info should include the fields returned from gtk_recent_filter_get_needed(), and must set the #GtkRecentFilterInfo.contains field of @filter_info to indicate which fields have been set.

This function will not typically be used by applications; it is intended principally for use in the implementation of #GtkRecentChooser.

class RecentFilter
bool
filter

Parameters

filterInfo GtkRecentFilterInfo*

a #GtkRecentFilterInfo containing information about a recently used resource

Return: %TRUE if the file should be displayed

Meta

Since

2.10