Gtk.TreeView.new_with_model
function new_with_model(model:Gtk.TreeModel):Gtk.Widget { // Gjs wrapper for gtk_tree_view_new_with_model() }
Creates a new Gtk.TreeView widget with the model initialized to model.
- model
the model.
- Returns
A newly created Gtk.TreeView widget.