Developer

API Reference

IWidget_SetTouchObserver()

Brew Release
Brew MP 1.0.2
See Also
IWidget_SetPropertyEx IWidget_GetTouchObserver
Description
This routine is used to set the touch observer on the Root Container. Touch Observer will receive all touch event which Root Container receives.
Parameters
  • pif
    []:
    [in] Pointer to the IWidget interface object.
  • piTouchObserver
    []:
    [in] Pointer to the touch observer.
Interface
Prototype
   int IWidget_SetTouchObserver(IWidget *pif, IObserver *piTouchObserver);
Return
   AEE_SUCCESS - If the widget is able to set the touch observer.
   AEE_EFAILED - If the widget failed to set the touch observer.
Side Effect
None
Comment
Applications should use this function to attach touch observer to Root Container.
  • Follow