Method

GtkRecentFilterfilter

since: 2.10

Declaration [src]

gboolean
gtk_recent_filter_filter (
  GtkRecentFilter* filter,
  const GtkRecentFilterInfo* filter_info
)

Description [src]

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.

Available since: 2.10

Parameters

filter_info

Type: GtkRecentFilterInfo

A GtkRecentFilterInfo containing information about a recently used resource.

The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE if the file should be displayed.