FontChooserT.setFilterFunc

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

template FontChooserT(TStruct)
void
setFilterFunc
(,
void* userData
,
GDestroyNotify destroy
)

Parameters

filter GtkFontFilterFunc

a GtkFontFilterFunc, or NULL. [allow-none]

userData void*

data to pass to filter

destroy GDestroyNotify

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

Meta