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

Developer

API Reference

IWIDGET_SETPREFERREDEXTENT()

Brew Release
Brew MP 1.0.2
See Also
IWidget IWidget_GetPreferredExtent IWidget_GetExtent IWidget_SetExtent
Description
This is an inline function that gets the preferred extent of a widget, and then sets the extent of the widget to that preferred extent. It takes an optional extent that gives a basis for the widget in order to calculate the preferred extent.
Params
pif
[]:
[in] Pointer to the IWidget object.
pe
[]:
[in] Optional pointer to an extent used to first set the widget extent before calculating the preferred extent.
Interface
Prototype
  •    void IWidget_SetPreferredExtent(IWidget *pif, WidgetExtent *pe);
       
Return
  • None
Side Effect
  • None
Comments
None