API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

ITRIGMLELEMENT_REMOVECHILD()

Brew Release
Brew MP 1.0.2
See Also
ITRIGMLELEMENT_InsertChild() ITRIGMLELEMENT_RemoveAllChildren()
Description
Removes an element from another Trigml element's child list.
The parent node will Release its reference to the child. If there are no other references to the child, it will be destroyed. Therefore, if you wish to keep the child node for reinsertion into the tree, make sure you AddRef it before calling ITRIGMLELEMENT_RemoveChild().
Params
po
[]:
A pointer to the ITrigmlElement object from whose child list to remove the child element.
node
[]:
A pointer to another ITrigmlElement, which should be a child of po. After this function returns, node will no longer be a child of po.
Interface
  • ITRIGMLELEMENT
Prototype
  •    int ITRIGMLELEMENT_RemoveChild(ITrigmlElement* po, ITrigmlElement* node);
    
Return
  •    SUCCESS if the node was successfully removed.
    
Side Effect
  • All loaded extensions receive a call to ITRIGMLEXTENSION_ChildRemoved().
Comments
None