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

PtExtentWidget()

Force a widget to calculate its extent

Synopsis:

PtWidget_t *PtExtentWidget( PtWidget_t *widget );

Library:

ph

Description:

This function forces the specified widget to calculate its preferred size and apply its resize policy.

Returns:

A pointer to the widget.

Examples:

See PtContainerGiveFocus().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtExtentWidgetFamily(), PtReRealizeWidget(), PtWidgetExtent()

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