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

Developer

API Reference

IWIDGET_SETVIEWMODEL()

Brew Release
Brew MP 1.0.2
See Also
IWidget_GetViewModel Model Events
Description

Sets the view model associated with the widget. View models are used to provide the user with notifications of when important events such as extent changes occur.
Params
pif
[]:
[in] Pointer to the IWidget interface object.
pifModel
[]:
[in] View model to be set to the widget (pif)
Interface
Prototype
  • int IWidget_SetViewModel(IWidget *pif, IModel *pifModel)
    
Return
  •    AEE_SUCCESS - Successfully set the view model
       AEE_EFAILED - Failed to set the view model
    
Side Effect

  • View Model is attached to the widget (pif)
Comments
None