Package: gtk

Callback gtk:font-filter-func

Syntax

lambda (family face) => result

Arguments

family -- a pango:font-family object
face -- a pango:font-face object belonging to family
result -- true if the font should be displayed

Details

The callback function that is used for deciding what fonts get shown in a gtk:font-chooser widget. See the gtk:font-chooser-set-filter-func function.

Warning

This callback function is deprecated since 4.20. There is no replacement.
 

See also

#2025-12-08