gtkFileChooserSetFilter {RGtk2} | R Documentation

## gtkFileChooserSetFilter

### Description

Sets the current filter; only the files that pass the filter will be displayed. If the user-selectable list of filters is non-empty, then the filter should be one of the filters in that list. Setting the current filter when the list of filters is empty is useful if you want to restrict the displayed set of files without letting the user change it.

### Usage

    gtkFileChooserSetFilter(object, filter)

### Arguments

``object`` | a `GtkFileChooser`
``filter`` | a `GtkFileFilter`

### Details

Since 2.4

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.40 Index]