Developer

API Reference

ITRIGMLELEMENT_RemoveChild()

deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
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().
Parameters
  • 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().
Comment
None
  • Follow