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.
Parameters
  • pif
    []:
    A pointer to an ICardContainer object.

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
Comment
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.
  • Follow