FontFilterFunc

typealias FontFilterFunc = (<Error class: unknown class>, <Error class: unknown class>) -> Boolean

The type of function that is used for deciding what fonts get shown in a GtkFontChooser.

See method@Gtk.FontChooser.set_filter_func.

  • param family a PangoFontFamily

  • param face a PangoFontFace belonging to @family

  • return true if the font should be displayed