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.ObjectWrap 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.