gtkFileFilterAddCustom {RGtk2}R Documentation

gtkFileFilterAddCustom

Description

Adds rule to a filter that allows files 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

gtkFileFilterAddCustom(object, needed, func, data = NULL)

Arguments

object [GtkFileFilter] a GtkFileFilter
needed [GtkFileFilterFlags] bitfield of flags indicating the information that the custom filter function needs.
func [GtkFileFilterFunc] callback function; if the function returns TRUE, then the file will be displayed.
data [R object] data to pass to func

Details

Since 2.4

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]