Top |
Functions
GtkMultiSelection * | gtk_multi_selection_new () |
GListModel * | gtk_multi_selection_get_model () |
void | gtk_multi_selection_set_model () |
Description
GtkMultiSelection is an implementation of the GtkSelectionModel interface that allows selecting multiple elements.
Functions
gtk_multi_selection_new ()
GtkMultiSelection *
gtk_multi_selection_new (GListModel *model
);
Creates a new selection to handle model
.
gtk_multi_selection_get_model ()
GListModel *
gtk_multi_selection_get_model (GtkMultiSelection *self
);
Returns the underlying model of self
.
gtk_multi_selection_set_model ()
void gtk_multi_selection_set_model (GtkMultiSelection *self
,GListModel *model
);
Sets the model that self
should wrap. If model
is NULL
, self
will be empty.