Top |
Functions
GtkNoSelection * | gtk_no_selection_new () |
GListModel * | gtk_no_selection_get_model () |
void | gtk_no_selection_set_model () |
Description
GtkNoSelection is an implementation of the GtkSelectionModel interface that does not allow selecting anything.
This model is meant to be used as a simple wrapper to GListModels when a GtkSelectionModel is required.
Functions
gtk_no_selection_new ()
GtkNoSelection *
gtk_no_selection_new (GListModel *model
);
Creates a new selection to handle model
.
gtk_no_selection_get_model ()
GListModel *
gtk_no_selection_get_model (GtkNoSelection *self
);
Gets the model that self
is wrapping.
gtk_no_selection_set_model ()
void gtk_no_selection_set_model (GtkNoSelection *self
,GListModel *model
);
Sets the model that self
should wrap.
If model
is NULL
, this model will be empty.