Package: gtk

Accessor gtk:file-chooser-filter

Lambda List

gtk:file-chooser-filter (object)

Syntax

(gtk:file-chooser-filter object) => filter
(setf (gtk:file-chooser-filter object) filter)

Arguments

object -- a gtk:file-chooser widget
filter -- a gtk:file-filter object

Details

The accessor for the filter slot of the gtk:file-chooser interface gets or sets the filter for selecting which files are displayed. 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.

Warning

The gtk:file-chooser implementation is deprecated since 4.10. Use the gtk:file-dialog object instead.
 

See also

2025-09-21