Method

GtkSingleSelectionset_model

Declaration [src]

void
gtk_single_selection_set_model (
  GtkSingleSelection* self,
  GListModel* model
)

Description [src]

Sets the model that self should wrap.

If model is NULL, self will be empty.

Parameters

model

Type: GObject

A GListModel to wrap.

The argument can be NULL.
The data is owned by the caller of the method.