AnyFilter

open class AnyFilter(pointer: <Error class: unknown class><<Error class: unknown class>>) : MultiFilter

GtkAnyFilter matches an item when at least one of its filters matches.

To add filters to a GtkAnyFilter, use method@Gtk.MultiFilter.append.

Constructors

Link copied to clipboard
constructor()

Creates a new empty "any" filter.

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val gioListModelPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val gtkAnyFilterPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open override val gtkBuildablePointer: <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
val gtkMultiFilterPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun append(filter: Filter)

Adds a @filter to @self to use for matching.

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

Notifies all users of the filter that it has changed.

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

Emitted whenever the filter changed.

Link copied to clipboard
open fun getBuildableId(): String?

Gets the ID of the @buildable object.

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
open fun remove(position: <Error class: unknown class>)

Removes the filter at the given @position from the list of filters used by @self.