Virtual Method

Gtk.FontChooser.set_filter_func

Declaration [src]

void
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.

Parameters

filter GtkFontFilterFunc
 

a GtkFontFilterFunc, or NULL

user_data gpointer
 

data to pass to filter

destroy GDestroyNotify
 

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