set_filter_func


Description:

public abstract void set_filter_func (owned FontFilterFunc? filter)

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

Note:

Use [class@Gtk.FontDialog] and [class@Gtk.FontDialogButton] instead

Parameters:

this

a `GtkFontChooser`

filter

a `GtkFontFilterFunc`

destroy

function to call to free data when it is no longer needed

user_data

data to pass to filter