CustomFilter.setFilterFunc

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_changed() needs to be called.

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

class CustomFilter
void
setFilterFunc

Parameters

matchFunc GtkCustomFilterFunc

function to filter items

userData void*

user data to pass to @match_func

userDestroy GDestroyNotify

destroy notify for @user_data

Meta