Package: gtk

Function gtk:list-store-set

Lambda List

gtk:list-store-set (model iter &rest values)

Arguments

model -- a gtk:list-store object
iter -- a gtk:tree-iter row iterator
values -- values to set

Return Value

The gtk:tree-iter iterator for the row being modified.

Details

Sets the values of one or more cells in the row referenced by iter. The variable argument list should contain the values to be set.

Examples

(let ((model (gtk:list-store-new "gchararray" "gchararray" "guint")))
  ;; Append a row and fill in some data
  (gtk:list-store-set model
                      (gtk:list-store-append model)
                      "Hans" "Müller" 1961)
   ... )    

Notes

The Lisp implementation does not support pairs of a column index and a value, but a list of values. Therefore, it is not possible to set the values of individual columns. See the gtk:list-store-set-value function for setting the value of single columns.

Warning

The gtk:list-store implementation is deprecated since 4.10. Use the g:list-store object instead.
 

See also

2024-4-7