CustomFilter.this

Creates a new filter using the given @match_func to filter 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.

  1. this(GtkCustomFilter* gtkCustomFilter, bool ownedRef)
  2. this(GtkCustomFilterFunc matchFunc, void* userData, GDestroyNotify userDestroy)
    class CustomFilter

Parameters

matchFunc GtkCustomFilterFunc

function to filter items

userData void*

user data to pass to @match_func

userDestroy GDestroyNotify

destroy notify for @user_data

Return Value

a new GtkCustomFilter

Throws

ConstructionException GTK+ fails to create the object.

Meta