Gtk.SliceListModel.set_model

### Method

# Gtk SliceListModelset_model

#### Declaration [src]

    void
    gtk_slice_list_model_set_model (
      GtkSliceListModel* self,
      GListModel* model
    )

#### Description [src]

Sets the model to show a slice of.

The model’s item type must conform to `self`‘s item type.

Sets property | `Gtk.SliceListModel:model`

#### Parameters

`model`

  Type: `GObject`

  The model to be sliced.

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