AnyFilter

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

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

Constructors

this
this(GtkAnyFilter* gtkAnyFilter, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this()

Creates a new empty "any" filter.

Members

Functions

getAnyFilterStruct
GtkAnyFilter* getAnyFilterStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

Static functions

getType
GType getType()

Variables

gtkAnyFilter
GtkAnyFilter* gtkAnyFilter;

the main Gtk struct

Inherited Members

From MultiFilter

gtkMultiFilter
GtkMultiFilter* gtkMultiFilter;

the main Gtk struct

getMultiFilterStruct
GtkMultiFilter* getMultiFilterStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

__anonymous
mixin ListModelT!(GtkMultiFilter)
Undocumented in source.
__anonymous
mixin BuildableT!(GtkMultiFilter)
Undocumented in source.
getType
GType getType()
append
void append(Filter filter)

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

remove
void remove(uint position)

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

Meta