gtk.selection_filter_model

Module for [SelectionFilterModel] class

Types 3

[gtk.selection_filter_model.SelectionFilterModel] is a list model that presents the selection from a [gtk.selection_model.SelectionModel].

Methods
GType _gType() @property
SelectionFilterModel self()Returns `this`, for use in `with` statements.
SelectionFilterModelGidBuilder builder()Get builder for [gtk.selectionfiltermodel.SelectionFilterModel] Returns: New builder object
gobject.types.GType itemType() @propertyGet `itemType` property. Returns: The type of items. See [gio.list_model.ListModel.getItemType].
gtk.selection_model.SelectionModel model() @propertyGet `model` property. Returns: The model being filtered.
void model(gtk.selection_model.SelectionModel propval) @propertySet `model` property. Params: propval = The model being filtered.
uint nItems() @propertyGet `nItems` property. Returns: The number of items. See [gio.list_model.ListModel.getNItems].
gtk.selection_model.SelectionModel getModel()Gets the model currently filtered or null if none. Returns: The model that gets filtered
void setModel(gtk.selection_model.SelectionModel model = null)Sets the model to be filtered.
Constructors
this(void * ptr, Flag!"Take" take)
this(gtk.selection_model.SelectionModel model = null)Creates a new [gtk.selectionfiltermodel.SelectionFilterModel] that will include the selected items from the underlying selection model.
Methods
T model(gtk.selection_model.SelectionModel propval)Set `model` property. Params: propval = The model being filtered. Returns: Builder instance for fluent chaining

Fluent builder for [gtk.selection_filter_model.SelectionFilterModel]