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 gtk:icon-view widget 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.

Warning

The gtk:icon-view implementation is deprecated since 4.10. Use the gtk:grid-view implementation instead.
 

See also

2025-3-3