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

Accessor of the filter slot of the gtk-file-chooser interface.

The slot access function gtk-file-chooser-filter gets the current filter. The slot access function (setf gtk-file-chooser-filter) 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.
 

See also

2021-1-28