Top | ![]() |
![]() |
![]() |
![]() |
GtkSelectionFilterModel is a list model that presents the selected items in a GtkSelectionModel as its own list model.
GtkSelectionFilterModel *
gtk_selection_filter_model_new (GtkSelectionModel *model
);
Creates a new GtkSelectionFilterModel that will include the selected items from the underlying selection model.
void gtk_selection_filter_model_set_model (GtkSelectionFilterModel *self
,GtkSelectionModel *model
);
Sets the model to be filtered.
Note that GTK makes no effort to ensure that model
conforms to
the item type of self
. It assumes that the caller knows what they
are doing and have set up an appropriate filter to ensure that item
types match.
GtkSelectionModel *
gtk_selection_filter_model_get_model (GtkSelectionFilterModel *self
);
Gets the model currently filtered or NULL
if none.
“model”
property“model” GtkSelectionModel *
The model being filtered
Owner: GtkSelectionFilterModel
Flags: Read / Write