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
SelectionFilterModelGidBuilder builder() static nothrowGet builder for [gtk.selection_filter_model.SelectionFilterModel] Returns: New builder objectgobject.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 filteredvoid setModel(gtk.selection_model.SelectionModel model = null) nothrowSets the model to be filtered.Constructors
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.classSelectionFilterModelGidBuilderImpl(T) : gobject.object.ObjectWrapGidBuilderImpl!T, gio.list_model.ListModelGidBuilderImpl!T
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