Method
GtkTreeViewset_model
Declaration [src]
void
gtk_tree_view_set_model (
GtkTreeView* tree_view,
GtkTreeModel* model
)
Description [src]
Sets the model for a GtkTreeView
. If the tree_view
already has a model
set, it will remove it before setting the new model. If model
is NULL
,
then it will unset the old model.
Sets property | Gtk.TreeView:model |
Parameters
model |
GtkTreeModel |
The model. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |