Developer

API Reference

IWidget_SetSoftkey()

Brew Release
Brew MP 1.0.2
See Also
Widget Events IWidget_GetSoftkey
Description
This routine is used to set a softkey widget based on the softkey id provided.
Parameters
  • pif
    []:
    [in] Pointer to the IWidget interface object
  • skid
    []:
    [in] Softkey id
  • piw
    []:
    [in] IWidget pointer to widget to set as a softkey
Interface
Prototype
   int IWidget_SetSoftkey(IWidget *pif, uint16 skid, IWidget *piw)
Return
   AEE_SUCCESS - If the widget is able to get the requested property.
   AEE_EFAILED - If the property could not be retrieved.
Side Effect
None
Comment
The softkey id can be one of the following values: PROP_SOFTKEY1 PROP_SOFTKEY2
  • Follow