Developer

API Reference

IController_GetWidgetPressedState()

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