Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PtExtentWidgetFamily()

Force a widget and its children to calculate their extents

Synopsis:

int PtExtentWidgetFamily( PtWidget_t *widget );

Library:

ph

Description:

This function forces the specified widget and all its descendants to calculate their preferred sizes and apply their resize policies.

Returns:

0
Successful completion.
-1
An error occurred.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtExtentWidget(), PtReRealizeWidget(), PtWidgetExtent()

"Widget geometry" in the Introduction to the Photon Programmer's Guide