BoolFilter

gtk.bool_filter.BoolFilter evaluates a boolean gtk.expression.Expression to determine whether to include items.

Constructors

this
this(gtk.expression.Expression expression)

Creates a new bool filter.

Members

Functions

getExpression
gtk.expression.Expression getExpression()

Gets the expression that the filter uses to evaluate if an item should be filtered.

getInvert
bool getInvert()

Returns whether the filter inverts the expression.

setExpression
void setExpression(gtk.expression.Expression expression)

Sets the expression that the filter uses to check if items should be filtered.

setInvert
void setInvert(bool invert)

Sets whether the filter should invert the expression.

Inherited Members

From Filter

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.