FontFilterFunc


Description:

[ CCode ( instance_pos = 2.9 ) ]
public delegate bool FontFilterFunc (FontFamily family, FontFace face)

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

See [method@Gtk.FontChooser.set_filter_func].

Parameters:

family

a `PangoFontFamily`

face

a `PangoFontFace` belonging to family

data

user data passed to set_filter_func

Returns:

true if the font should be displayed


Namespace: Gtk
Package: gtk4