MultiFilter

gtk.multi_filter.MultiFilter is the base class for filters that combine multiple filters.

Members

Functions

append
void append(gtk.filter.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.

Mixed In Members

From mixin ListModelT!()

getItem
T getItem(uint position)

Get the item at position and cast to the template type. NOTE: If type is an interface and no known D object is found that the object conforms to, the interface IfaceProxy object will be used. If position is greater than the number of items in list, %NULL is returned. %NULL may be returned if index is smaller than the length of the list, but the object does not conform to the template type. This function is meant to be used by language bindings in place of Gio.ListModel.getItem. See also: Gio.ListModel.getNItems

getItemType
gobject.types.GType getItemType()

Gets the type of the items in list.

getNItems
uint getNItems()

Gets the number of items in list.

getItem
gobject.object.ObjectG getItem(uint position)

Get the item at position.

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

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

connectItemsChanged
ulong connectItemsChanged(T callback, Flag!"After" after)

Connect to ItemsChanged signal.

From mixin BuildableT!()

getBuildableId
string getBuildableId()

Gets the ID of the buildable object.

Inherited Members

From Filter

changed
void changed(gtk.types.FilterChange change)

Notifies all users of the filter that it has changed.

getStrictness
gtk.types.FilterMatch getStrictness()

Gets the known strictness of filters.

match
bool match(gobject.object.ObjectG item)

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

connectChanged
ulong connectChanged(T callback, Flag!"After" after)

Connect to Changed signal.

From ListModel

getItem
T getItem(uint position)

Get the item at position and cast to the template type. NOTE: If type is an interface and no known D object is found that the object conforms to, the interface IfaceProxy object will be used. If position is greater than the number of items in list, %NULL is returned. %NULL may be returned if index is smaller than the length of the list, but the object does not conform to the template type. This function is meant to be used by language bindings in place of Gio.ListModel.getItem. See also: Gio.ListModel.getNItems

getItemType
gobject.types.GType getItemType()

Gets the type of the items in list.

getNItems
uint getNItems()

Gets the number of items in list.

getItem
gobject.object.ObjectG getItem(uint position)

Get the item at position.

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

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

connectItemsChanged
ulong connectItemsChanged(T callback, Flag!"After" after)

Connect to ItemsChanged signal.

From Buildable

getBuildableId
string getBuildableId()

Gets the ID of the buildable object.