CustomFilter

gtk.custom_filter.CustomFilter determines whether to include items with a callback.

Constructors

this
this(void* ptr, Flag!"Take" take)
this
this(gtk.types.CustomFilterFunc matchFunc)

Creates a new filter using the given match_func to filter items.

Members

Functions

self
CustomFilter self()

Returns this, for use in with statements.

setFilterFunc
void setFilterFunc(gtk.types.CustomFilterFunc matchFunc)

Sets the function used for filtering items.

Properties

gType
GType gType [@property getter]

Static functions

getGType
GType getGType()

Inherited Members

From Filter

getGType
GType getGType()
gType
GType gType [@property getter]
self
Filter self()

Returns this, for use in with statements.

changed
void changed(gtk.types.FilterChange change)

Notifies all users of the filter that it has changed.

getStrictness
gtk.types.FilterMatch getStrictness()

Gets the known strictness of filters.

match
bool match(gobject.object.ObjectG item)

Checks if the given item is matched by the filter or not.

connectChanged
ulong connectChanged(T callback, Flag!"After" after)

Connect to Changed signal.