1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-09 04:30:09 +00:00
This commit is contained in:
James J 2026-01-08 16:12:45 +00:00 committed by GitHub
commit 3d7dae703f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 4 deletions

View file

@ -332,14 +332,16 @@ public:
If the undoManager parameter is not nullptr, its UndoManager::perform() method will be used,
so that this change can be undone. Be very careful not to mix undoable and non-undoable changes!
@see appendChild, removeChild
@returns a reference to the value tree, so that you can daisy-chain calls to this method.
*/
void addChild (const ValueTree& child, int index, UndoManager* undoManager);
ValueTree& addChild (const ValueTree& child, int index, UndoManager* undoManager);
/** Appends a new child sub-tree to this tree.
This is equivalent to calling addChild() with an index of -1. See addChild() for more details.
@see addChild, removeChild
@returns a reference to the value tree, so that you can daisy-chain calls to this method.
*/
void appendChild (const ValueTree& child, UndoManager* undoManager);
ValueTree& appendChild (const ValueTree& child, UndoManager* undoManager);
/** Removes the specified child from this tree's child-list.
If the undoManager parameter is not nullptr, its UndoManager::perform() method will be used,