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

PtMoveResizeWidget()

Synchronize a widget's extent

Synopsis:

int PtMoveResizeWidget( PtWidget_t *widget, 
                        unsigned blit );

Arguments:

widget
A pointer to the widget whose extent you want to synchronize.
blit
A flag that indicates whether or not to use blitting; one of:

Description:

This function synchronizes a widget's extent with its position and size resources. Any region adjustments, blits, or damages are performed automatically.

This function calls the widget's Extent method to calculate its new extent.

Returns:

0
No action.
Nonzero
The widget was modified or damage was generated.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No