MultiFilter

GtkMultiFilter is the base class for filters that combine multiple filters.

Constructors

this
this(GtkMultiFilter* gtkMultiFilter, bool ownedRef)

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

Members

Functions

append
void append(Filter filter)

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

getMultiFilterStruct
GtkMultiFilter* getMultiFilterStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

remove
void remove(uint position)

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

Mixins

__anonymous
mixin ListModelT!(GtkMultiFilter)
Undocumented in source.
__anonymous
mixin BuildableT!(GtkMultiFilter)
Undocumented in source.

Static functions

getType
GType getType()

Variables

gtkMultiFilter
GtkMultiFilter* gtkMultiFilter;

the main Gtk struct

Inherited Members

From Filter

gtkFilter
GtkFilter* gtkFilter;

the main Gtk struct

getFilterStruct
GtkFilter* getFilterStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
changed
void changed(GtkFilterChange change)

Emits the #GtkFilter::changed signal to notify all users of the filter that the filter changed. Users of the filter should then check items again via gtk_filter_match().

getStrictness
GtkFilterMatch getStrictness()

Gets the known strictness of @filters. If the strictness is not known, %GTK_FILTER_MATCH_SOME is returned.

match
bool match(ObjectG item)

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

addOnChanged
gulong addOnChanged(void delegate(GtkFilterChange, Filter) dlg, ConnectFlags connectFlags)

Emitted whenever the filter changed.

From ListModelIF

getListModelStruct
GListModel* getListModelStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
getItem
void* getItem(uint position)

Get the item at @position. If @position is greater than the number of items in @list, %NULL is returned.

getItemType
GType getItemType()

Gets the type of the items in @list. All items returned from g_list_model_get_type() are of that type or a subtype, or are an implementation of that interface.

getNItems
uint getNItems()

Gets the number of items in @list.

getObject
ObjectG getObject(uint position)

Get the item at @position. If @position is greater than the number of items in @list, %NULL is returned.

itemsChanged
void itemsChanged(uint position, uint removed, uint added)

Emits the #GListModel::items-changed signal on @list.

addOnItemsChanged
gulong addOnItemsChanged(void delegate(uint, uint, uint, ListModelIF) dlg, ConnectFlags connectFlags)

This signal is emitted whenever items were added to or removed from @list. At @position, @removed items were removed and @added items were added in their place.

From BuildableIF

getBuildableStruct
GtkBuildable* getBuildableStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
getBuildableId
string getBuildableId()

Gets the ID of the @buildable object.

Meta