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

NextPrevUpTopContentsIndex

tree-view-update-item

Generic Function
Summary

Updates an item in a tree-view.

Package

capi

Signature

tree-view-update-item tree-view item in-parent

Arguments

tree-view

A tree-view.

item

An item.

in-parent

A boolean.

Description

The generic function tree-view-update-item updates the item item in tree-view . This includes recomputing the text, images and children of item . This is useful when the data in tree-view changes, but the entire tree does not need recomputing.

When in-parent is non-nil, tree-view-update-item updates the children of the parent of item . This is useful when item is actually removed from tree-view , causing the children of its parent to be re-positioned.

See also

tree-view


CAPI User Guide and Reference Manual (Macintosh version) - 3 Aug 2017

NextPrevUpTopContentsIndex