Developer

API Reference

IWidget_SetFocusListener()

Brew Release
Brew MP 1.0.2
See Also
IWidget IModel IModel_AddListenerEx
Description
Sets a listener to the widgets to listen on view model for notification of data model change.
Parameters
  • pif
    []:
    [in] Pointer to the IWidget interface object.
  • pml
    []:
    [in] Pointer to the model listener that will be attached to the object.
  • pfn
    []:
    [in] Pointer to the callback function that BREW will call to notify the listening object of events involving the model.
  • pv
    []:
    [in] Pointer to the private data defined by the object that will be returned to the object in the listener callback function.
Interface
Prototype
int IWidget_SetFocusListener(IWidget *pif, ModelListener *pml, PFNLISTENER pfn, void *pv);
Return
   AEE_SUCCESS - Successfully set the focus listener
   AEE_EFAILED - Failed to set the focus listener
Side Effect
None
Comment
None
  • Follow