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

Developer

API Reference

ICARDCONTAINER_GETACTIVE()

Brew Release
Brew MP 1.0.2
See Also
- ICardContainer - IWidget - ICardContainer_Activate
Description
This function returns a pointer to the card container's active widget, or NULL if the card container is not active. The function will also return NULL if the card container is active, but does not currently contain an active widget.
Params
pif
[]:
A pointer to an ICardContainer object.

Interface
Prototype
  •    IWidget *ICardContainer_GetActive(ICardContainer *pif);
    
Return
  • Pointer to the card container's active widget. The function will return NULL if the widget stack does not contain an active widget.
Side Effect
  • None
Comments
Though the ICardContainer_GetActive() function returns a pointer to a widget, the function does not add a reference to the returned IWidget for the caller.