Method

Gtk.SingleSelection.set_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 GListModel*
 

A GListModel to wrap

 Can be NULL
 Ownership is not transferred to the callee