instead
FontChooser.setFilterFunc
void setFilterFunc(gtk.types.FontFilterFunc filter = null)Adds a filter function that decides which fonts to display in the font chooser.
Parameters
filter | a [gtk.types.FontFilterFunc] |
Deprecated
Use [gtk.font_dialog.FontDialog] and [gtk.font_dialog_button.FontDialogButton]