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

Accessor of the model slot of the gtk:tree-view class. The gtk:tree-view-model function returns the model the tree view is based on. Returns nil if the model is unset. The (setf gtk:tree-view-model) function sets the model. 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

2024-3-9