Developer

API Reference

IController_SetWidgetPressedState()

Brew Release
Brew MP 1.0.2
See Also
IController Interface IController_GetWidgetPressedState
Description
This function is used to set or cancel "pressed" state of a button widget or check widget.
Parameters
  • pif
    []:
    [in] Pointer to the IController interface object.
  • bPressed
    []:
    [in] Button/Check Widget Pressed status
Interface
Prototype
   int IController_SetWidgetPressedState(IController *pif, boolean bPressed);
Return
   AEE_SUCCESS - If controller is able to set widget's pressed state value.
   AEE_EFAILED - If controller is not able to set the widget's pressed state value.
Side Effect
None
Comment
Use IWidget_GetTouchController() to get the touch controller associated with button/check widget.
  • Follow