BoolFilter

open class BoolFilter(val gtkBoolFilterPointer: <Error class: unknown class><<Error class: unknown class>>) : Filter

GtkBoolFilter evaluates a boolean GtkExpression to determine whether to include items.

Constructors

Link copied to clipboard
constructor(expression: Expression? = null)

Creates a new bool filter.

constructor(gtkBoolFilterPointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The boolean expression to evaluate on item.

Link copied to clipboard
val gtkBoolFilterPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gtkFilterPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open var invert: Boolean

If the expression result should be inverted.

Functions

Link copied to clipboard
open fun changed(change: FilterChange)

Notifies all users of the filter that it has changed.

Link copied to clipboard

Emits the "changed" signal. See onChanged.

Link copied to clipboard

Gets the known strictness of @filters.

Link copied to clipboard
open fun match(item: <Error class: unknown class>): Boolean

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

Link copied to clipboard
fun onChanged(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (change: FilterChange) -> Unit): <Error class: unknown class>

Emitted whenever the filter changed.