All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

append-items Generic Function

Summary

Adds to the items in a collection.

Package

capi

Signature

append-items collection new-items

Arguments
collection
A collection.
new-items
A sequence.
Description

The generic function append-items adds the items in new-items to the collection collection.

This is logically equivalent to recalculating the collection items and calling (setf collection-items). However, append-items is more efficient and causes less flickering on screen.

append-items can only be used when the collection has the default items-get-function svref.

Notes

append-items cannot be used a graph-pane or a tree-view.

See also

collection
remove-items
replace-items
5 Choices - panes with items


CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27