Gtk.FontChooser.prototype.set_filter_func

function set_filter_func(filter:Gtk.FontFilterFunc):void {
    // Gjs wrapper for gtk_font_chooser_set_filter_func()
}

Adds a filter function that decides which fonts to display in the font chooser.

Since 3.2

filter

a Gtk.FontFilterFunc, or null