- pif:[in] Pointer to the IWidget object.
- pWExtent:[in] Pointer to the WidgetExtent struct that provides the new extent of the widget.
void IWidget_SetExtent(IWidget *pif, WidgetExtent *pWExtent);
Examples of containers which may reset their child widgets extent are ConstaintContainer, PropContainer and most Decorators like BlendWidget, RotateWidget and DrawDecorator.
On the other hand some containers never change their child widgets extent, delegating that responsability to the user. Examples of containers which never change the child's extent are RootContainer and XYContainer.
A widget shall never change its own extent. Only containers or the user shall be able to change the extent of a widget.