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

Developer

API Reference

ICONTROLLER_SETWIDGET()

Brew Release
Brew MP 1.0.2
See Also
- IController_SetHandler
Description
This function wraps the IController around a target widget, and makes the target widget the child of the IController. Once wrapped, the controller will provide controller services to the wrapped widget.
Interface
Prototype
  •    int     IController_SetWidget(IController* pif, IWidget* piWidget); 
    
Return
  • AEE_SUCCESS - if the controller was successfully assigned to the widget, AEE_EFAILED otherwise.
Side Effect
Comments
None