Method

GtkFontDialogset_filter

since: 4.10

Declaration [src]

void
gtk_font_dialog_set_filter (
  GtkFontDialog* self,
  GtkFilter* filter
)

Description [src]

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

The filter must be able to handle both PangoFontFamily and PangoFontFace objects.

Available since: 4.10

Sets propertyGtk.FontDialog:filter

Parameters

filter

Type: GtkFilter

The filter.

The argument can be NULL.
The data is owned by the caller of the method.