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 slot access function gtk-combo-box-model returns the model which is acting as data source for the combo box. The slot access function (setf gtk-combo-box-model) 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 function gtk-cell-layout-clear yourself if you need to set up different cell renderers for the new model.
 

See also

2021-3-12