Method

Gtk.FilterListModel.set_model

Declaration [src]

void
gtk_filter_list_model_set_model (
  GtkFilterListModel* self,
  GListModel* model
)

Description [src]

Sets the model to be filtered.

Note that GTK makes no effort to ensure that model conforms to the item type of self. It assumes that the caller knows what they are doing and have set up an appropriate filter to ensure that item types match.

Parameters

model GListModel*
 

The model to be filtered

 Can be NULL
 Ownership is not transferred to the callee