GridView.this

Creates a new GtkGridView that uses the given @factory for mapping items to widgets.

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

grid_view = gtk_grid_view_new (create_model (),
gtk_builder_list_item_factory_new_from_resource ("/resource.ui"));
  1. this(GtkGridView* gtkGridView, bool ownedRef)
  2. this(SelectionModelIF model, ListItemFactory factory)

Parameters

model SelectionModelIF

the model to use, or %NULL

factory ListItemFactory

The factory to populate items with, or %NULL

Return Value

a new GtkGridView using the given @model and @factory

Throws

ConstructionException GTK+ fails to create the object.

Meta