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

Developer

API Reference

IWIDGET_GETPARENTWIDGET()

Brew Release
Brew MP 1.0.2
See Also
IWidget IWidget_GetParent
Description
This routine is used to retrieve the parent widget of the given widget.
Params
pif
[]:
[in] Pointer to the IWidget interface object.
ppiw
[]:
[out] The pointer to the pointer of the parent widget.
Interface
Prototype
  •    int IWidget_GetParentWidget(IWidget *pif, IWidget **ppiw);
    
Return
  •    AEE_SUCCESS - If the widget was able to retrieve the parent widget.
       AEE_EFAILED - If the widget failed to retrieve the parent widget.
    
Side Effect
  • None
Comments
This routine is basically calling IWidget_GetParent and querying for the widget pointer from the parent container.