Developer

API Reference

IWidget_ForceLayout()

Brew Release
Brew MP 1.0.2
See Also
- Widget Events
- IWidget
- IWidget_EnableLayout
Description
This function is used to force a re-layout and invalidation of a container. This is commonly used when turning on layout after a number of child widget manipulations with layout turned off. See IWidget_EnableLayout for an explanation of when to use layout disabling.
Parameters
  • pif
    []:
    Pointer to the IWidget interface object.
Interface
Prototype
   int IWidget_ForceLayout(IWidget *pif); 
Return
   AEE_SUCCESS - If the widget was able to layout and invalidate itself.
   AEE_EFAILED - If the widget failed forcing a layout.

Side Effect
None
Comment
Layout is performed on the children of the widget passed in.
  • Follow