Developer

API Reference

IXYContainer_GetLastWidget()

Brew Release
Brew MP 1.0.2
See Also
- IXYContainer Interface
- IWidget Interface
- IXYContainer_GetWidget()
- IXYContainer_GetFirstWidget()
Description
This function retrieves a pointer to the last widget in the XY container's widget stack. This is, effectively, the widget at the bottom of the widget stack. The widget on the bottom of the stack is the last one drawn onscreen and is the topmost with regard to front-to-back ordering within the container.
Parameters
  • pif
    []:
    A pointer to an IXYContainer object.

Interface
Prototype
   IWidget *IXYContainer_GetLastWidget(IXYContainer *pif);
Return
A pointer to the widget at the bottom of the XY container's widget stack, or NULL when the widget stack is empty.
Side Effect
None
Comment
Though IXYContainer_GetLastWidget() function returns a pointer to a widget, the function does not add a reference to the returned IWidget for the caller.
  • Follow