ListView.this

Creates a new gtk.list_view.ListView that uses the given factory for mapping items to widgets.

The function takes ownership of the arguments, so you can write code like

list_view = gtk_list_view_new (create_model (),
  gtk_builder_list_item_factory_new_from_resource ("/resource.ui"));

Parameters

model gtk.selection_model.SelectionModel

the model to use

factory gtk.list_item_factory.ListItemFactory

The factory to populate items with

Return Value

a new gtk.list_view.ListView using the given model and factory