[12:7] extends: object
Evaluates a boolean expression to determine whether to include items.
BoolFilter (expression = null)
Creates a new bool filter.
expression is the expression to evaluate.toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asFilter ()
Wraps this handle as
Filter.
A Filter object.getProperty (string Name)
Reads one generated property by name.
setProperty (string Name, Value)
Writes one generated property by name.
setExpression (object Value)
The boolean expression to evaluate on each item.
Value is the new property value.None.setInvert (bool Value)
If the expression result should be inverted.
Value is the new property value.None.get_expression ()
Gets the expression that the filter evaluates for each item.
get_invert ()
Returns whether the filter inverts the expression.
set_expression (object expression)
Sets the expression that the filter uses to check if items should be filtered. The expression must have a value type of
G_TYPE_BOOLEAN.
expression is the expression.None.set_invert (bool invert)
Sets whether the filter should invert the expression.
invert is true to invert.None.[191:14] static extends: object
Generated metadata helpers for BoolFilter class surfaces.
properties ()
Returns property metadata for
BoolFilter.
A list.