gtk.selection_filter_model

Module for [SelectionFilterModel] class

Types 3

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
SelectionFilterModel self() nothrowReturns `this`, for use in `with` statements.
SelectionFilterModelGidBuilder builder() static nothrowGet builder for [gtk.selection_filter_model.SelectionFilterModel] Returns: New builder object
gobject.types.GType itemType() @property nothrowGet `itemType` property. Returns: The type of items. See [gio.list_model.ListModel.getItemType].
gtk.selection_model.SelectionModel model() @property nothrowGet `model` property. Returns: The model being filtered.
void model(gtk.selection_model.SelectionModel propval) @property nothrowSet `model` property. Params: propval = The model being filtered.
uint nItems() @property nothrowGet `nItems` property. Returns: The number of items. See [gio.list_model.ListModel.getNItems].
gtk.selection_model.SelectionModel getModel() nothrowGets the model currently filtered or null if none. Returns: The model that gets filtered
void setModel(gtk.selection_model.SelectionModel model = null) nothrowSets the model to be filtered.
Constructors
this(void * ptr, Flag!"Take" take)
this(gtk.selection_model.SelectionModel model = null)Creates a new [gtk.selection_filter_model.SelectionFilterModel] that will include the selected items from the underlying selection model.

Fluent builder implementation template for gtk.selection_filter_model.SelectionFilterModel

Methods
T model(gtk.selection_model.SelectionModel propval) nothrowSet `model` property. Params: propval = The model being filtered. Returns: Builder instance for fluent chaining