Method

GtkFontChooserset_filter_func

Declaration [src]

void
gtk_font_chooser_set_filter_func (
  GtkFontChooser* fontchooser,
  GtkFontFilterFunc filter,
  gpointer user_data,
  GDestroyNotify destroy
)

Description [src]

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

Available since:3.2

Parameters

filter

Type: GtkFontFilterFunc

A GtkFontFilterFunc, or NULL.

The argument can be NULL.
user_data

Type: gpointer

Data to pass to filter.

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

Type: GDestroyNotify

Function to call to free data when it is no longer needed.