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
SelectionFilterModel self()Returns `this`, for use in `with` statements.SelectionFilterModelGidBuilder builder()Get builder for [gtk.selectionfiltermodel.SelectionFilterModel] Returns: New builder objectgobject.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 filteredvoid setModel(gtk.selection_model.SelectionModel model = null)Sets the model to be filtered.Constructors
this(gtk.selection_model.SelectionModel model = null)Creates a new [gtk.selectionfiltermodel.SelectionFilterModel] that will include the selected items from the underlying selection model.classSelectionFilterModelGidBuilderImpl(T) : gobject.object.ObjectWrapGidBuilderImpl!T, gio.list_model.ListModelGidBuilderImpl!T
Methods
T model(gtk.selection_model.SelectionModel propval)Set `model` property. Params: propval = The model being filtered. Returns: Builder instance for fluent chainingclassSelectionFilterModelGidBuilder : SelectionFilterModelGidBuilderImpl!SelectionFilterModelGidBuilder
Fluent builder for [gtk.selection_filter_model.SelectionFilterModel]
Methods