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 -- the gtk-tree-model object

Details

Accessor of the model slot of the gtk-tree-view class.

The slot access function gtk-tree-view-model returns the model the tree view is based on. Returns nil if the model is unset. The slot access function (setf gtk-tree-view-model) sets the model. If the tree view already has a model set, it will remove it before setting the new model. If model is nil, then it will unset the old model.
 

See also

2021-2-25