Package: gtk

Accessor gtk:combo-box-model

Lambda List

gtk:combo-box-model (object)

Syntax

(gtk:combo-box-model object) => model
(setf (gtk:combo-box-model object) model)

Arguments

object -- a gtk:combo-box widget
model -- a gtk:tree-model object

Details

The accessor for the model slot of the gtk:combo-box class gets or sets the model which is acting as data source for the combo box. Will unset a previously set model, if applicable. If model is nil, then it will unset the model.

Note that this function does not clear the cell renderers, you have to call the gtk:cell-layout-clear function yourself if you need to set up different cell renderers for the new model.

Warning

The gtk:combo-box implementation is deprecated since 4.10. Use the gtk:drop-down widget instead.
 

See also

2025-08-12