gtkRecentFilterAddCustom: gtkRecentFilterAddCustom

Description Usage Arguments Details Author(s)

View source: R/gtkFuncs.R

Description

Adds a rule to a filter that allows resources based on a custom callback function. The bitfield needed which is passed in provides information about what sorts of information that the filter function needs; this allows GTK+ to avoid retrieving expensive information when it isn't needed by the filter.

Usage

1
gtkRecentFilterAddCustom(object, needed, func, data)

Arguments

object

a GtkRecentFilter

needed

bitfield of flags indicating the information that the custom filter function needs.

func

callback function; if the function returns TRUE, then the file will be displayed.

data

data to pass to func

Details

Since 2.10

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.