API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IWIDGET_SETINDEXER()

Brew Release
Brew MP 1.0.2
Description

This function is used to install an indexer function that will be called for every item in the list when the list widget iterates through its items. Typically this is done at draw time and when the preferred extent is calculated. This allows the application logic to manipulate the item widget just after the list model data has been copied to the item widget's model, but just before drawing occurs.
Params
pif
[]:
[in] Pointer to the IWidget interface object.
pfnIndexer
[]:
[in] Indexer function to be called
pCtx
[]:
[in] Context pointer
Interface
Prototype
  • int IWidget_SetIndexer(IWidget *pif, PFNINDEXER pfnIndexer, void *pCtx)
    
Return
  •    AEE_SUCCESS - Successfully set the indexer
       AEE_EFAILED - Failed to set the indexer
    
Side Effect
  • None.
Comments
None.