Updates an item in a tree-view.
capi
tree-view-update-item tree-view item in-parent
tree-view⇩ |
A tree-view. |
item⇩ |
An item. |
in-parent⇩ |
A boolean. |
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.
CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42