Package: gtk

Accessor gtk:tree-view-model

Lambda List

gtk:tree-view-model (object)

Syntax

(gtk:tree-view-model object) => model
(setf (gtk:tree-view-model object) model)

Arguments

objet -- a gtk:tree-view widget
model -- a gtk:tree-model object

Details

The accessor for the model slot gets or sets the model the tree view is based on. Returns nil if the model is unset. If the tree view already has a model set, it will remove it before setting the new model. If the model argument is nil, then it will unset the old model.

Warning

The gtk:tree-view implementation is deprecated since 4.10. Please do not use it in newly written code.
 

See also

2026-08-28