Developer

API Reference

IWidget_SetProperty()

Brew Release
Brew MP 1.0.2
See Also
Error Codes EVT_WDG_SETPROPERTY IWidget IWidget_GetProperty Widget Events
Description
This function sets the value of a specific property for the given widget. Widgets may possess any number of properties, as defined in AEEWidgetProperties.h, and include attributes such as color, border width, shadowing, etc.
Parameters
  • pif
    []:
    [in] Pointer to the IWidget interface object.
  • propId
    []:
    [in] Identifies the property whose value is to be set.
  • val
    []:
    [in] The new value for the widget's 'propID' property, expressed as a 32-bit unsigned integer.
Interface
Prototype
   int IWidget_SetProperty(IWidget *pif, uint16 propId, uint32 val); 
Return
AEE_SUCCESS : If the widget is able to set the requested property. AEE_EFAILED : If the property could not be set.
Side Effect
None
Comment
Calling IWidget_SetProperty() has the same effect as processing an EVT_WDG_SETPROPERTY event.
  • Follow