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