CustomFilter.setFilterFunc

void setFilterFunc(gtk.types.CustomFilterFunc matchFunc = null)

Sets the function used for filtering items.

If match_func is null, the filter matches all items.

If the filter func changes its filtering behavior, [gtk.filter.Filter.changed] needs to be called.

If a previous function was set, its user_destroy will be called now.

Parameters

matchFuncfunction to filter items