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

The accessor for the model slot of the gtk:icon-view class gets or sets the model for the icon view. Returns nil if the model is unset.

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-09-16