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

Accessor of the model slot of the gtk:combo-box class. The gtk:combo-box-model function returns the model which is acting as data source for the combo box. The (setf gtk:combo-box-model) function sets the model. 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

2024-4-26