Package: gtk

Accessor gtk:icon-view-model

Lambda List

gtk:icon-view-model (object)

Syntax

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

Arguments

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

Details

Accessor of the model slot of the gtk:icon-view class. The gtk:icon-view-model function returns the model the icon view is based on. Returns nil if the model is unset. The (setf gtk:icon-view-model) function sets the model.

If the icon 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

2024-3-24