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

tree-view-update-item Function

Summary

Updates an item in a tree-view.

Package

capi

Signature

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

Arguments
tree-view
item
An item.
in-parent
A boolean.
Description

The 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 (Unix version) - 01 Dec 2021 19:32:42