TreeView.with_model


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public TreeView.with_model (TreeModel model)

Creates a new `GtkTreeView` widget with the model initialized to model.

Note:

Use [class@Gtk.ListView] or [class@Gtk.ColumnView] instead

Parameters:

model

the model.

Returns:

A newly created `GtkTreeView` widget.