TreeView.newWithModel
gtk.tree_view.TreeView newWithModel(gtk.tree_model.TreeModel model)Creates a new [gtk.tree_view.TreeView] widget with the model initialized to model.
Parameters
model | the model. |
Returns
A newly created [gtk.tree_view.TreeView] widget.
Deprecated
Use [gtk.list_view.ListView] or [gtk.column_view.ColumnView] instead