Method

Gtk.MapListModel.set_model

Declaration [src]

void
gtk_map_list_model_set_model (
  GtkMapListModel* self,
  GListModel* model
)

Description [src]

Sets the model to be mapped.

GTK makes no effort to ensure that model conforms to the item type expected by the map function. It assumes that the caller knows what they are doing and have set up an appropriate map function.

Sets propertyGtk.MapListModel:model

Parameters

model GListModel*
 

The model to be mapped

 Can be NULL
 Ownership is not transferred to the callee